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
@@ -75,7 +75,6 @@ export class ViewEventPage implements OnInit {
} }
openOptions() { openOptions() {
} }
docIndex(index: number) { docIndex(index: number) {
@@ -98,7 +97,12 @@ export class ViewEventPage implements OnInit {
// console.log(new Date(this.today)); // console.log(new Date(this.today));
this.customDate = this.days[this.today.getDay()]+ ", " + this.today.getDate() +" de " + ( this.months[this.today.getMonth()]); this.customDate = this.days[this.today.getDay()]+ ", " + this.today.getDate() +" de " + ( this.months[this.today.getMonth()]);
this.getAttachments(this.loadedEvent.EventId); this.getAttachments(this.loadedEvent.EventId);
}); }, (errer)=> {
this.viewEventDetailDismiss.emit({
type: 'close'
})
})
;
} }
deleteEvent(){ deleteEvent(){
@@ -212,8 +216,6 @@ export class ViewEventPage implements OnInit {
modal.onDidDismiss(); modal.onDidDismiss();
} }
async openTaskOptions() { async openTaskOptions() {
const doc = this.loadedAttachments[ this.dicIndex]; const doc = this.loadedAttachments[ this.dicIndex];