Merge branch 'developer' of bitbucket.org:equilibriumito/gabinete-digital into developer

This commit is contained in:
tiago.kayaya
2022-04-07 17:51:57 +01:00
4 changed files with 25 additions and 4 deletions
+15
View File
@@ -248,6 +248,21 @@ export class EventsPage implements OnInit {
this.totalEvent = list.length;
this.showLoader = false;
} else {
if(this.loggeduser.OwnerCalendars.length >= 1) {
console.log('OWN caledare')
let onwEvent:any = await this.eventService.getAllOwnEvents(start, end)
this.listToPresent = onwEvent;
this.totalEvent = onwEvent.length;
this.showLoader = false;
} else {
console.log('ELSE')
}
//if need share calendare
//this.eventService.genericGetAllSharedEvents
}