diff --git a/src/app/pages/chat/group-messages/group-messages.page.html b/src/app/pages/chat/group-messages/group-messages.page.html index 23a5b78f3..fd8294ba2 100644 --- a/src/app/pages/chat/group-messages/group-messages.page.html +++ b/src/app/pages/chat/group-messages/group-messages.page.html @@ -62,13 +62,13 @@ {{msg.msg}} - Enviado + Enviado - Lido -
Tentar
+ Lido +
Tentar
{{last ? scrollToBottom() : ''}} @@ -103,13 +103,13 @@ image - Enviado + Enviado - Lido -
Tentar
+ Lido +
Tentar
@@ -159,13 +159,13 @@ - Enviado + Enviado - Lido -
Tentar
+ Lido +
Tentar
diff --git a/src/app/pages/chat/group-messages/group-messages.page.ts b/src/app/pages/chat/group-messages/group-messages.page.ts index 573cdb045..0af96090a 100644 --- a/src/app/pages/chat/group-messages/group-messages.page.ts +++ b/src/app/pages/chat/group-messages/group-messages.page.ts @@ -45,7 +45,7 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy { room: any; roomName: any; - members: any; + members: any = [] contacts: string[] = [" Ana M.", "Andre F.", "Bruno G.", "Catarina T", "Tiago"]; allUsers: any[] = []; @@ -143,6 +143,7 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy { this.getChatMembers(); this.getRoomMessageDB(this.roomId); + this.getGroupContacts({}); } @@ -615,6 +616,8 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy { } async bookMeeting() { + + this.getGroupContacts({}); this.attendees = this.members.map((val) => { return { Name: val.name, @@ -623,23 +626,21 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy { } }); - this.popoverController.dismiss(); - if (window.innerWidth <= 1024) { - const modal = await this.modalController.create({ - component: NewEventPage, - componentProps: { - attendees: this.attendees, - }, - cssClass: 'modal modal-desktop', - backdropDismiss: false - }); - await modal.present(); - modal.onDidDismiss().then((data) => { - if (data) { + // this.popoverController.dismiss(); + const modal = await this.modalController.create({ + component: NewEventPage, + componentProps: { + attendees: this.attendees, + }, + cssClass: 'modal modal-desktop', + backdropDismiss: false + }); + await modal.present(); + modal.onDidDismiss().then((data) => { + if (data) { - } - }); - } + } + }); } diff --git a/src/app/pages/chat/messages/messages.page.html b/src/app/pages/chat/messages/messages.page.html index f626c951b..2a6e6dc2e 100644 --- a/src/app/pages/chat/messages/messages.page.html +++ b/src/app/pages/chat/messages/messages.page.html @@ -60,13 +60,13 @@ - Enviado + Enviado - Lido -
Tentar
+ Lido +
Tentar
{{last ? scrollToBottom() : ''}} @@ -99,13 +99,13 @@ image - Enviado + Enviado - Lido -
Tentar
+ Lido +
Tentar
@@ -165,13 +165,13 @@ - Enviado + Enviado - Lido -
Tentar
+ Lido +
Tentar
diff --git a/src/app/shared/chat/group-messages/group-messages.page.html b/src/app/shared/chat/group-messages/group-messages.page.html index 36dbc6172..2c6854b6e 100644 --- a/src/app/shared/chat/group-messages/group-messages.page.html +++ b/src/app/shared/chat/group-messages/group-messages.page.html @@ -59,13 +59,13 @@ - Enviado + Enviado - Lido -
Tentar
+ Lido +
Tentar
{{last ? scrollToBottom() : ''}} @@ -108,13 +108,13 @@ - Enviado + Enviado - Lido -
Tentar
+ Lido +
Tentar
@@ -165,13 +165,13 @@ - Enviado + Enviado - Lido -
Tentar
+ Lido +
Tentar
diff --git a/src/app/shared/chat/messages/contacts/contacts.page.html b/src/app/shared/chat/messages/contacts/contacts.page.html index 11b11f721..839f9ea23 100644 --- a/src/app/shared/chat/messages/contacts/contacts.page.html +++ b/src/app/shared/chat/messages/contacts/contacts.page.html @@ -9,7 +9,7 @@
- Nova Conversas + Nova Conversa
diff --git a/src/app/shared/chat/messages/messages.page.html b/src/app/shared/chat/messages/messages.page.html index 0662e54b7..884abe7a0 100644 --- a/src/app/shared/chat/messages/messages.page.html +++ b/src/app/shared/chat/messages/messages.page.html @@ -60,13 +60,13 @@ - Enviado + Enviado - Lido -
Tentar
+ Lido +
Tentar
{{last ? scrollToBottom() : ''}} @@ -106,13 +106,13 @@ image - Enviado + Enviado - Lido -
Tentar
+ Lido +
Tentar
@@ -174,13 +174,13 @@ - Enviado + Enviado - Lido -
Tentar
+ Lido +
Tentar
diff --git a/version/git-version.ts b/version/git-version.ts index 5fdb95c68..4a9db22a3 100644 --- a/version/git-version.ts +++ b/version/git-version.ts @@ -1,12 +1,12 @@ export let versionData = { - "shortSHA": "b21a3350e", - "SHA": "b21a3350ec5135e0be63566be04f5599127044fd", + "shortSHA": "5a90b2125", + "SHA": "5a90b212525d1fdc1cb7df8e13b81fc666fcbe4a", "branch": "no_bug_movemente", - "lastCommitAuthor": "'Peter Maquiran'", - "lastCommitTime": "'Mon Feb 13 19:35:16 2023 +0100'", - "lastCommitMessage": "merge", - "lastCommitNumber": "4778", + "lastCommitAuthor": "'Eudes InĂ¡cio'", + "lastCommitTime": "'Mon Feb 13 19:46:44 2023 +0100'", + "lastCommitMessage": "pull made", + "lastCommitNumber": "4779", "change": "", - "changeStatus": "On branch no_bug_movemente\nYour branch is up to date with 'origin/no_bug_movemente'.\n\nChanges to be committed:\n (use \"git restore --staged ...\" to unstage)\n\tmodified: src/environments/environment.prod.ts\n\tmodified: src/environments/environment.ts", + "changeStatus": "On branch no_bug_movemente\nYour branch and 'origin/no_bug_movemente' have diverged,\nand have 1 and 2 different commits each, respectively.\n (use \"git pull\" to merge the remote branch into yours)\n\nAll conflicts fixed but you are still merging.\n (use \"git commit\" to conclude merge)\n\nChanges to be committed:\n\tmodified: src/app/pages/chat/group-messages/group-messages.page.html\n\tmodified: src/app/pages/chat/group-messages/group-messages.page.ts\n\tmodified: src/app/pages/chat/messages/messages.page.html\n\tmodified: src/app/shared/chat/group-messages/group-messages.page.html\n\tmodified: src/app/shared/chat/messages/contacts/contacts.page.html\n\tmodified: src/app/shared/chat/messages/messages.page.html", "changeAuthor": "eudes.inacio" } \ No newline at end of file