diff --git a/src/scheduler/scheduleDeleteModal.component.ts b/src/scheduler/scheduleDeleteModal.component.ts index 7e21276..e6823a9 100644 --- a/src/scheduler/scheduleDeleteModal.component.ts +++ b/src/scheduler/scheduleDeleteModal.component.ts @@ -1,49 +1,34 @@ // vim: set tw=80 ts=2 sw=2 sts=2: -import { Component, Input } from '@angular/core'; - -import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; - -import { Schedule } from './schedule'; +import { Component, Inject } from '@angular/core'; +import { MD_DIALOG_DATA } from '@angular/material'; @Component({ selector: 'schedule-delete-modal', template: ` -
- Do you really want to delete schedule #{{ schedule.id }} with label:
- {{ schedule.label }}
-