schedule-refactor #45
@ -39,7 +39,7 @@ export class MissedSchedulesComponent implements OnInit{
|
|||||||
}
|
}
|
||||||
|
|
||||||
forgetSchedule(scheduleInfo: ScheduleInfo) {
|
forgetSchedule(scheduleInfo: ScheduleInfo) {
|
||||||
this.scheduleService.schedulesScheduleIDScheduleTypeDelete(scheduleInfo.scheduleID, "BASIC").subscribe({
|
this.scheduleService.schedulesScheduleIDDelete(scheduleInfo.scheduleID).subscribe({
|
||||||
next: resp => {
|
next: resp => {
|
||||||
this.missedSchedules = this.missedSchedules.filter(schedule => schedule.scheduleID !== scheduleInfo.scheduleID)
|
this.missedSchedules = this.missedSchedules.filter(schedule => schedule.scheduleID !== scheduleInfo.scheduleID)
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user