fix agenda and publication

This commit is contained in:
Peter Maquiran
2024-05-24 11:29:53 +01:00
parent fcb6727f4e
commit 3eecefcfa6
38 changed files with 651 additions and 216 deletions
@@ -213,7 +213,7 @@
{{last ? scrollToBottom() : ''}}
</div>
<div *ngIf="msg.t == 'au' && msg.msg != sessionStore.user.UserName">
<div *ngFor="let user of allUsers">
<div *ngFor="let user of ChatSystemService.users">
<div *ngIf="msg.msg == user.username" class="info-text-leave">
<ion-label>Adicionou {{user.name}}</ion-label><br />
</div>
@@ -41,7 +41,6 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe
loggedUser: any;
message: any;
messages: any;
allUsers: any[] = [];
documents: SearchList[] = [];
room: any = new Array();
@@ -333,12 +332,18 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe
async getChatMembers() {
this.chatService.getAllUsers().subscribe(res => {
//
// this.chatService.getAllUsers().subscribe(res => {
// //
// this.allUsers = res['users']
// //
// });
if(this.ChatSystemService.users.length == 0) {
this.ChatSystemService.getUser()
}
this.allUsers = res['users']
//
});
}
openGroupContactsPage() {