Fix operation edit modal size.
This commit is contained in:
1 parent
012e5a16fa
commit
8973c1fe9a
2 files changed
+6
-2
No files matched your search
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user