If bad request then reload agenda

This commit is contained in:
Peter Maquiran
2021-07-15 15:24:30 +01:00
parent e9e6b2b5d3
commit 5fc561cab9
@@ -74,8 +74,7 @@ export class ViewEventPage implements OnInit {
this.loadEvent();
}
openOptions(){
openOptions() {
}
docIndex(index: number) {
@@ -98,7 +97,12 @@ export class ViewEventPage implements OnInit {
// console.log(new Date(this.today));
this.customDate = this.days[this.today.getDay()]+ ", " + this.today.getDate() +" de " + ( this.months[this.today.getMonth()]);
this.getAttachments(this.loadedEvent.EventId);
});
}, (errer)=> {
this.viewEventDetailDismiss.emit({
type: 'close'
})
})
;
}
deleteEvent(){
@@ -212,8 +216,6 @@ export class ViewEventPage implements OnInit {
modal.onDidDismiss();
}
async openTaskOptions() {
const doc = this.loadedAttachments[ this.dicIndex];