fix issues

This commit is contained in:
Peter Maquiran
2024-03-02 12:21:00 +01:00
parent e0c75e6d87
commit b1bf06b19e
23 changed files with 131 additions and 34 deletions
+7 -7
View File
@@ -126,11 +126,11 @@ export class ViewEventPage implements OnInit {
this.eventsService.getEvent(this.eventId).subscribe(res => {
this.loadedEvent = res;
// this.addEventToDb(res);
loader.remove()
}, (error) => {
if (error.status === 0) {
// this.getFromDb();
} else {
@@ -148,10 +148,10 @@ export class ViewEventPage implements OnInit {
this.eventsService.genericGetEvent(this.eventId, this.CalendarId).subscribe(res => {
this.loadedEvent = res;
// this.addEventToDb(res);
loader.remove()
}, (error) => {
if (error.status === 0) {
// this.getFromDb();
} else {
@@ -238,7 +238,7 @@ export class ViewEventPage implements OnInit {
cssClass: 'modal modal-desktop',
});
modal.onDidDismiss().then((res) => {
if (res) {
@@ -382,7 +382,7 @@ export class ViewEventPage implements OnInit {
});
modal.onDidDismiss().then(
async (res) => { },
async (res) => { },
(error) => {
console.log(error)
});