mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
load calendars on open edit-event modal and new event modal.
This commit is contained in:
@@ -189,6 +189,8 @@ export class EditEventPage implements OnInit {
|
||||
|
||||
this.loadedEventAttachments = this.postEvent?.Attachments
|
||||
|
||||
this.agendaDataRepository.getSharedCalendar()
|
||||
|
||||
this.CalendarNameOwnerName = this.eventsService.detectCalendarNameByCalendarId(this.postEvent.CalendarId)
|
||||
this.changeAgenda()
|
||||
this.sharedCalendar = this.agendaDataRepository.getShareCalendarItemsLiveWithOrder()
|
||||
|
||||
@@ -153,6 +153,8 @@ export class NewEventPage implements OnInit {
|
||||
// Add other roles with their priorities here
|
||||
};
|
||||
|
||||
this.agendaDataRepository.getSharedCalendar()
|
||||
|
||||
this.sharedCalendar = this.agendaDataRepository.getShareCalendarItemsLive().pipe(
|
||||
map(data => data.sort((a, b) => {
|
||||
console.log('Raw data:', data); // Debug line
|
||||
|
||||
Reference in New Issue
Block a user