diff --git a/src/app/components/main-chat/chat-msg-box/chat-msg-box.component.html b/src/app/components/main-chat/chat-msg-box/chat-msg-box.component.html
index c48bc7e..0462f68 100644
--- a/src/app/components/main-chat/chat-msg-box/chat-msg-box.component.html
+++ b/src/app/components/main-chat/chat-msg-box/chat-msg-box.component.html
@@ -76,7 +76,8 @@
@if (toggleBoolean.selectUserInMsgBox) {
- @for(user of userService.getFiltertUsers; track user){
+ @for(user of userService.getFiltertUsers; track user) { @if (user.id
+ !== userService.getCurrentUserId()) {

@@ -87,9 +88,9 @@
class="onlineIcon"
/>
-
{{ user.firstName }} {{ user.lastName }}
+
{{ user.firstName }} {{ user.lastName }}
- }
+ } }
}
@@ -110,20 +111,21 @@
@if (showChannels) { @for (i of checkIfUserHasAccessToChannel(); track
$index) {
{{ i.name }}
- } }@else if (showUsers) { @for (i of userService.allUsers; track $index) {
-
+ } }@else if (showUsers) { @for (user of userService.allUsers; track
+ $index) { @if (user.id !== userService.getCurrentUserId()) {
+
-
{{ i.firstName }} {{ i.lastName }}
+
{{ user.firstName }} {{ user.lastName }}
- } }
+ } } }
}
diff --git a/src/app/components/main-chat/chat-msg-box/chat-msg-box.component.scss b/src/app/components/main-chat/chat-msg-box/chat-msg-box.component.scss
index 598c1fb..246c7d7 100644
--- a/src/app/components/main-chat/chat-msg-box/chat-msg-box.component.scss
+++ b/src/app/components/main-chat/chat-msg-box/chat-msg-box.component.scss
@@ -138,6 +138,10 @@ app-emoji-picker {
background-color: #edeefe;
border-radius: 25px;
}
+ p {
+ font-size: 19px;
+ font-weight: 500;
+ }
.positionImg {
@include displayFlex($a: flex-end);
.avatarImg {
@@ -191,6 +195,10 @@ app-emoji-picker {
background-color: #edeefe;
border-radius: 25px;
}
+ p {
+ font-size: 19px;
+ font-weight: 500;
+ }
.positionImg2 {
@include displayFlex($a: flex-end);
.avatarImg2 {