diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-side.component.html b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-side.component.html
index 2e8de758..79460a4a 100644
--- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-side.component.html
+++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-side.component.html
@@ -5,7 +5,7 @@
chat
-
+
group
@@ -14,8 +14,14 @@
- chat
+ chat
diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/group.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/group.component.ts
index a8dcb424..7b28ea9f 100644
--- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/group.component.ts
+++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/group.component.ts
@@ -76,9 +76,7 @@ export class GroupComponent implements OnInit, OnDestroy {
loginRes: LoginResponse;
loginResSubscription: Subscription;
- sessionVerinfo = this.sessionStorageService.get(
- KEY_VER_INFO
- );
+ sessionVerinfo: VersionInfo2Response;
constructor(
private store: Store,
@@ -88,6 +86,9 @@ export class GroupComponent implements OnInit, OnDestroy {
) {}
ngOnInit() {
+ this.sessionVerinfo = this.sessionStorageService.get(
+ KEY_VER_INFO
+ );
const loginInfo = this.sessionStorageService.get(KEY_LOGIN_INFO);
this.companyCode = loginInfo.companyCode;
@@ -142,6 +143,7 @@ export class GroupComponent implements OnInit, OnDestroy {
}
ngOnDestroy(): void {
+ this.logger.debug('ngOnDestroy');
if (!!this.loginResSubscription) {
this.loginResSubscription.unsubscribe();
}
diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/chat/create-chat.dialog.component.html b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/chat/create-chat.dialog.component.html
index 660361bc..fb520f1b 100644
--- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/chat/create-chat.dialog.component.html
+++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/chat/create-chat.dialog.component.html
@@ -2,7 +2,13 @@
{{ data.title }}
-
+
@@ -10,14 +16,28 @@
group
-
-
-
+
+
+
@@ -25,16 +45,24 @@
device_hub
-
+
chat
-
+
@@ -48,7 +76,11 @@
-