UI including Schedule.name when asking for deletion
This commit is contained in:
parent
8d8b5513a2
commit
ec8adf8643
@ -50,7 +50,7 @@ export class ScheduleListComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
delete(schedule: Schedule): void {
|
delete(schedule: Schedule): void {
|
||||||
if (confirm("Sicher?")) {
|
if (confirm("Zeitplan \"" + schedule.name + "\" wirklich löschen?")) {
|
||||||
this.scheduleService.delete(schedule, () => this.remove(schedule));
|
this.scheduleService.delete(schedule, () => this.remove(schedule));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -66,7 +66,7 @@ export class ScheduleComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
delete(entry: ScheduleEntry): void {
|
delete(entry: ScheduleEntry): void {
|
||||||
if (confirm("Sicher?")) {
|
if (confirm("Eintrag \"" + entry.nextClearTimestamp?.timeString + " +/-" + entry.fuzzySeconds + "\" wirklich löschen?")) {
|
||||||
this.scheduleEntryService.delete(entry, () => this.remove(entry));
|
this.scheduleEntryService.delete(entry, () => this.remove(entry));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user