Remove windowClass in modal open.

This commit is contained in:
Alexis Lahouze
2017-07-30 16:44:58 +02:00
parent efb0f70f31
commit 3559d4acc0
4 changed files with 5 additions and 15 deletions

View File

@ -76,9 +76,7 @@ export class ScheduleListComponent implements OnInit {
var schedule = new Schedule();
schedule.account_id = this.accountId;
const modal = this.ngbModal.open(ScheduleEditModalComponent, {
windowClass: 'in'
});
const modal = this.ngbModal.open(ScheduleEditModalComponent);
modal.componentInstance.schedule = schedule;