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 04bca401..42000cb5 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
@@ -77,80 +77,85 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ 'common.searchResult' | translate }}
+
+ ({{ searchUserInfos.length
+ }}{{ 'common.units.persons' | translate }})
+
+
-
-
-
-
-
-
- {{ 'common.searchResult' | translate }}
-
- ({{ searchUserInfos.length
- }}{{ 'common.units.persons' | translate }})
-
-
-
-
+
@@ -159,19 +164,24 @@
-
-
-
+
@@ -183,44 +193,27 @@
>
-
-
-
+
-
-
-
-
- {{ userInfo.name }}
- clear
-
-
-
{{ selectedUserList.length }}
- {{ 'common.units.persons' | translate }}
-
@@ -241,3 +234,24 @@
+
+
+
+
+
+ {{ userInfo.name }}
+ clear
+
+
+
+
+ {{ selectedUserList.length }}
+ {{ 'common.units.persons' | translate }}
+
+
diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/chat/create-chat.dialog.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/chat/create-chat.dialog.component.ts
index dab108e2..a51cb7be 100644
--- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/chat/create-chat.dialog.component.ts
+++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/chat/create-chat.dialog.component.ts
@@ -185,7 +185,7 @@ export class CreateChatDialogComponent implements OnInit, OnDestroy {
| UserInfoDN
| RoomUserInfo
)[] = [];
- isShowSelectedUserList = true;
+
selectedRoom: RoomInfo;
inputForm: FormGroup;
@@ -399,10 +399,8 @@ export class CreateChatDialogComponent implements OnInit, OnDestroy {
if (tabChangeEvent.index === 2) {
this.selectedUserList = [];
- this.isShowSelectedUserList = false;
} else {
this.selectedRoom = null;
- this.isShowSelectedUserList = true;
}
}