mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
Success message
This commit is contained in:
@@ -100,12 +100,20 @@ export class ViewEventPage implements OnInit {
|
||||
this.today = new Date(res.StartDate);
|
||||
this.customDate = this.days[this.today.getDay()]+ ", " + this.today.getDate() +" de " + ( this.months[this.today.getMonth()]);
|
||||
this.getAttachments(this.loadedEvent.EventId);
|
||||
}, (errer)=> {
|
||||
}, (error)=> {
|
||||
|
||||
console.log('errer', )
|
||||
|
||||
this.viewEventDetailDismiss.emit({
|
||||
type: 'close'
|
||||
})
|
||||
|
||||
this.toastService.badRequest('Este evento já não existe na sua agenda')
|
||||
if(error.status == 0) {
|
||||
this.toastService.badRequest('não é possível vizualizar este event no modo offline')
|
||||
} else {
|
||||
this.toastService.badRequest('Este evento já não existe na sua agenda')
|
||||
}
|
||||
|
||||
})
|
||||
;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user