mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +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') {
|
if(this.sesseionStora.user.Profile == 'MDGPR' || this.sesseionStora.user.Profile == 'PR') {
|
||||||
this.eventsService.deleteEvent(this.loadedEvent.EventId, 0, this.loadedEvent.CalendarName).subscribe(async () => {
|
this.eventsService.deleteEvent(this.loadedEvent.EventId, 0, this.loadedEvent.CalendarName).subscribe(async () => {
|
||||||
this.toastService.successMessage('Evento apagado');
|
this.toastService._successMessage('Evento eliminado');
|
||||||
this.close();
|
this.close();
|
||||||
},()=>{},
|
},()=>{},
|
||||||
()=>{
|
()=>{
|
||||||
@@ -192,7 +192,7 @@ export class ViewEventPage implements OnInit {
|
|||||||
|
|
||||||
if(this.CalendarId) {
|
if(this.CalendarId) {
|
||||||
this.eventsService.genericDeleteEvent(this.loadedEvent.EventId, 0, this.loadedEvent.CalendarName, this.CalendarId).subscribe(async () => {
|
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();
|
this.close();
|
||||||
},()=>{},
|
},()=>{},
|
||||||
()=>{
|
()=>{
|
||||||
@@ -208,7 +208,7 @@ export class ViewEventPage implements OnInit {
|
|||||||
|
|
||||||
if(this.sesseionStora.user.Profile == 'MDGPR' || this.sesseionStora.user.Profile == 'PR') {
|
if(this.sesseionStora.user.Profile == 'MDGPR' || this.sesseionStora.user.Profile == 'PR') {
|
||||||
this.eventsService.deleteEvent(this.loadedEvent.EventId, 0, this.loadedEvent.CalendarName).subscribe(async () => {
|
this.eventsService.deleteEvent(this.loadedEvent.EventId, 0, this.loadedEvent.CalendarName).subscribe(async () => {
|
||||||
this.toastService.successMessage('Evento apagado');
|
this.toastService._successMessage('Evento eliminado');
|
||||||
this.close();
|
this.close();
|
||||||
},()=>{},
|
},()=>{},
|
||||||
()=>{
|
()=>{
|
||||||
@@ -216,7 +216,7 @@ export class ViewEventPage implements OnInit {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.eventsService.genericDeleteEvent(this.loadedEvent.EventId, 0, this.loadedEvent.CalendarName, this.CalendarId).subscribe(async () => {
|
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();
|
this.close();
|
||||||
},()=>{},
|
},()=>{},
|
||||||
()=>{
|
()=>{
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user