Improve deletion warning
All checks were successful
Jenkins Production Deployment

This commit is contained in:
Patrick Müller 2022-12-28 12:39:14 +01:00
parent aa0d03c86a
commit 85ffaea589
Signed by: Paddy
GPG Key ID: 37ABC11275CAABCE

View File

@ -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) => {