mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
pull made
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();
|
||||
},()=>{},
|
||||
()=>{
|
||||
|
||||
Reference in New Issue
Block a user