retore notification message

This commit is contained in:
Peter Maquiran
2023-02-16 11:59:24 +01:00
parent 190e98fab7
commit cec25b197b
2 changed files with 11 additions and 11 deletions
@@ -182,7 +182,7 @@ export class ViewEventPage implements OnInit {
if(this.sesseionStora.user.Profile == 'MDGPR' || this.sesseionStora.user.Profile == 'PR') {
this.eventsService.deleteEvent(this.loadedEvent.EventId, 0, this.loadedEvent.CalendarName).subscribe(async () => {
this.toastService.successMessage('Evento apagado');
this.toastService._successMessage('Evento eliminado');
this.close();
},()=>{},
()=>{
@@ -192,7 +192,7 @@ export class ViewEventPage implements OnInit {
if(this.CalendarId) {
this.eventsService.genericDeleteEvent(this.loadedEvent.EventId, 0, this.loadedEvent.CalendarName, this.CalendarId).subscribe(async () => {
this.toastService.successMessage('Evento apagado');
this.toastService._successMessage('Evento eliminado');
this.close();
},()=>{},
()=>{
@@ -208,7 +208,7 @@ export class ViewEventPage implements OnInit {
if(this.sesseionStora.user.Profile == 'MDGPR' || this.sesseionStora.user.Profile == 'PR') {
this.eventsService.deleteEvent(this.loadedEvent.EventId, 0, this.loadedEvent.CalendarName).subscribe(async () => {
this.toastService.successMessage('Evento apagado');
this.toastService._successMessage('Evento eliminado');
this.close();
},()=>{},
()=>{
@@ -216,7 +216,7 @@ export class ViewEventPage implements OnInit {
});
} else {
this.eventsService.genericDeleteEvent(this.loadedEvent.EventId, 0, this.loadedEvent.CalendarName, this.CalendarId).subscribe(async () => {
this.toastService.successMessage('Evento apagado');
this.toastService._successMessage('Evento eliminado');
this.close();
},()=>{},
()=>{