mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
change api source for mobile
This commit is contained in:
@@ -642,13 +642,12 @@ export class AgendaPage implements OnInit {
|
||||
|
||||
if (SessionStore.user.Profile == 'PR') {
|
||||
label = "pr"
|
||||
} else if (SessionStore.user.OwnerCalendars.find(e => e.CalendarId == selectedCalendar.CalendarId)) {
|
||||
} else if (selectedCalendar.OwnerUserId == SessionStore.user.UserId as any) {
|
||||
label = 'md'
|
||||
} else {
|
||||
label = "pr"
|
||||
}
|
||||
|
||||
|
||||
this.CalendarStore.removeRangeForCalendar(startTime, endTime, null , selectedCalendar.OwnerUserId as any)
|
||||
|
||||
let eventsList = response.value;
|
||||
|
||||
Reference in New Issue
Block a user