mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
retore notification message
This commit is contained in:
@@ -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();
|
||||
},()=>{},
|
||||
()=>{
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user