Fix operation edit modal size.

This commit is contained in:
Alexis Lahouze 2017-08-11 22:22:23 +02:00
parent 012e5a16fa
commit 8973c1fe9a
2 changed files with 6 additions and 2 deletions

View File

@ -97,7 +97,9 @@ export class OperationListComponent implements OnInit {
operation.account_id = this.account.id; operation.account_id = this.account.id;
// FIXME Alexis Lahouze 2017-06-15 i18n // 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; modal.componentInstance.operation = operation;

View File

@ -139,7 +139,9 @@ export class OperationRowComponent {
modify(operation) { modify(operation) {
// FIXME Alexis Lahouze 2017-06-15 i18n // 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; modal.componentInstance.operation = operation;