Fix schedule edit modal size.
This commit is contained in:
parent
8973c1fe9a
commit
fd0df50d14
@ -73,7 +73,9 @@ export class ScheduleListComponent implements OnInit {
|
||||
var schedule = new Schedule();
|
||||
schedule.account_id = this.accountId;
|
||||
|
||||
const modal = this.ngbModal.open(ScheduleEditModalComponent);
|
||||
const modal = this.ngbModal.open(ScheduleEditModalComponent, {
|
||||
size: 'lg'
|
||||
});
|
||||
|
||||
modal.componentInstance.schedule = schedule;
|
||||
|
||||
|
@ -101,7 +101,9 @@ export class ScheduleRowComponent {
|
||||
}
|
||||
|
||||
modify() {
|
||||
const modal = this.ngbModal.open(ScheduleEditModalComponent);
|
||||
const modal = this.ngbModal.open(ScheduleEditModalComponent, {
|
||||
size: 'lg'
|
||||
});
|
||||
|
||||
modal.componentInstance.schedule = this.schedule;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user