upload chat file

This commit is contained in:
Peter Maquiran
2023-03-16 10:45:05 +01:00
parent ced8320dd2
commit 49d36e2528
12 changed files with 42 additions and 68 deletions
@@ -27,7 +27,7 @@ export class EventListPage implements OnInit {
// [desktop] event list to approve
profile: string;
segment: string;
segment: any;
showLoader: boolean;
eventsPRList: any = [];
eventsMDGPRList: any = [];
@@ -183,8 +183,8 @@ export class EventListPage implements OnInit {
} else {
this.color = 'pr'
let allEvents = await this.processes.eventsToApprove(segment,'mobile agenda').toPromise()
console.log('segment.OwnerUserId1111', segment.OwnerUserId)
let allEvents = await this.processes.eventsToApprove(segment.OwnerUserId,'mobile agenda').toPromise()
try {
this.eventsList = this.sortService.sortArrayByDate(allEvents).reverse();
} catch(error) {
@@ -194,7 +194,7 @@ export class EventListPage implements OnInit {
this.eventsList = this.eventsList
this.eventsList = this.eventsList
this.showLoader = false;
this.eventoaprovacaostore.save(segment, this.eventsList)
this.eventoaprovacaostore.save(segment.OwnerUserId, this.eventsList)
}
this.showLoader = false;