From 8973c1fe9a3153575a4f5051abc75197782a36e7 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Fri, 11 Aug 2017 22:22:23 +0200 Subject: [PATCH] Fix operation edit modal size. --- src/operations/operationList.component.ts | 4 +++- src/operations/operationRow.component.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/operations/operationList.component.ts b/src/operations/operationList.component.ts index 46aa328..ba8f151 100644 --- a/src/operations/operationList.component.ts +++ b/src/operations/operationList.component.ts @@ -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; diff --git a/src/operations/operationRow.component.ts b/src/operations/operationRow.component.ts index 317e15b..0d9db50 100644 --- a/src/operations/operationRow.component.ts +++ b/src/operations/operationRow.component.ts @@ -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;