mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
new build
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user