Fix modal size.
This commit is contained in:
parent
e23adb4316
commit
5a81547108
@ -70,7 +70,9 @@ export class AccountListComponent implements OnInit {
|
||||
* Add an empty account.
|
||||
*/
|
||||
add() {
|
||||
const modal = this.ngbModal.open(AccountEditModalComponent);
|
||||
const modal = this.ngbModal.open(AccountEditModalComponent, {
|
||||
size: 'lg'
|
||||
});
|
||||
|
||||
modal.componentInstance.account = new Account();
|
||||
|
||||
|
@ -115,7 +115,9 @@ export class AccountRowComponent implements OnInit {
|
||||
};
|
||||
|
||||
confirmDelete() {
|
||||
const modal = this.ngbModal.open(AccountDeleteModalComponent);
|
||||
const modal = this.ngbModal.open(AccountDeleteModalComponent, {
|
||||
size: 'lg'
|
||||
});
|
||||
|
||||
modal.componentInstance.account = this.account;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user