new build

This commit is contained in:
Peter Maquiran
2022-12-27 15:21:01 +01:00
parent 0fe4983db7
commit ac9cb56b79
64 changed files with 861 additions and 8 deletions
+11
View File
@@ -259,6 +259,7 @@ export class AgendaPage implements OnInit {
}
if (realoadCounter != 0) {
this.loadRangeEvents(this.rangeStartDate, this.rangeEndDate);
this.updateEventListBox()
}
realoadCounter++;
}
@@ -553,6 +554,7 @@ export class AgendaPage implements OnInit {
}).finally(() => {
this.showLoader = false;
this.deleteLoadRangeEvent(startTime, endTime)
this.updateEventListBox()
})
}
@@ -582,6 +584,7 @@ export class AgendaPage implements OnInit {
.finally(() => {
this.deleteLoadRangeEvent(startTime, endTime)
this.showLoader = false;
this.updateEventListBox()
})
}
@@ -615,6 +618,7 @@ export class AgendaPage implements OnInit {
.finally(() => {
this.deleteLoadRangeEvent(startTime, endTime)
this.showLoader = false;
this.updateEventListBox()
})
} else if (this.loggeduser.Profile != 'PR' && this.loggeduser.Profile != 'MDGPR'){
if(this.profile == "mdgpr") {
@@ -649,6 +653,7 @@ export class AgendaPage implements OnInit {
}).finally(() => {
this.deleteLoadRangeEvent(startTime, endTime)
this.showLoader = false;
this.updateEventListBox()
})
} else if (this.profile == "pr" ) {
@@ -675,6 +680,7 @@ export class AgendaPage implements OnInit {
}).finally(() => {
this.deleteLoadRangeEvent(startTime, endTime)
this.showLoader = false;
this.updateEventListBox()
})
}
@@ -720,6 +726,7 @@ export class AgendaPage implements OnInit {
if (counter == 2) {
this.showLoader = false;
}
this.updateEventListBox()
})
this.eventService.getAllSharedEvents(momentG(new Date(startTime), 'yyyy-MM-dd HH:mm:ss'), momentG(new Date(endTime), 'yyyy-MM-dd 23:59:59')).then((response: any) => {
@@ -756,6 +763,7 @@ export class AgendaPage implements OnInit {
if (counter == 2) {
this.showLoader = false;
}
this.updateEventListBox()
})
} else if(this.loggeduser.Profile == 'PR') {
@@ -791,6 +799,7 @@ export class AgendaPage implements OnInit {
}).finally(() => {
this.deleteLoadRangeEvent(startTime, endTime)
this.showLoader = false;
this.updateEventListBox()
})
} else {
this.showLoader = false;
@@ -833,6 +842,7 @@ export class AgendaPage implements OnInit {
if (counter == 2) {
this.showLoader = false;
}
this.updateEventListBox()
})
} else {
counter++;
@@ -882,6 +892,7 @@ export class AgendaPage implements OnInit {
if (counter == 2) {
this.showLoader = false;
}
this.updateEventListBox()
})
} else {
counter++;