Fix operation edit modal size.
This commit is contained in:
parent
012e5a16fa
commit
8973c1fe9a
@ -97,7 +97,9 @@ export class OperationListComponent implements OnInit {
|
||||
operation.account_id = this.account.id;
|
||||
|
||||
// FIXME Alexis Lahouze 2017-06-15 i18n
|
||||
const modal = this.ngbModal.open(OperationEditModalComponent);
|
||||
const modal = this.ngbModal.open(OperationEditModalComponent, {
|
||||
size: 'lg'
|
||||
});
|
||||
|
||||
modal.componentInstance.operation = operation;
|
||||
|
||||
|
@ -139,7 +139,9 @@ export class OperationRowComponent {
|
||||
|
||||
modify(operation) {
|
||||
// FIXME Alexis Lahouze 2017-06-15 i18n
|
||||
const modal = this.ngbModal.open(OperationEditModalComponent);
|
||||
const modal = this.ngbModal.open(OperationEditModalComponent, {
|
||||
size: 'lg'
|
||||
});
|
||||
|
||||
modal.componentInstance.operation = operation;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user