This commit is contained in:
parent
aa0d03c86a
commit
85ffaea589
|
@ -137,7 +137,7 @@ export class EventComponent implements OnInit {
|
|||
}
|
||||
|
||||
triggerDelete() {
|
||||
let deleteConfirmed = window.confirm('Are you sure?');
|
||||
let deleteConfirmed = window.confirm(`Are you sure you want to delete "${this.event!.name}"? This action cannot be undone.`);
|
||||
|
||||
if(deleteConfirmed && this.event) {
|
||||
this.api.deleteEvent(this.event).subscribe((res: any) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user