diff --git a/src/app/components/main-chat/chat-content/chat-content.component.ts b/src/app/components/main-chat/chat-content/chat-content.component.ts index eb8f8e5..7414b92 100644 --- a/src/app/components/main-chat/chat-content/chat-content.component.ts +++ b/src/app/components/main-chat/chat-content/chat-content.component.ts @@ -1,5 +1,4 @@ import { - AfterViewChecked, AfterViewInit, Component, ElementRef, @@ -13,7 +12,6 @@ import { UserService } from '../../../service/user.service'; import { SingleChatComponent } from '../single-chat/single-chat.component'; import { ChatMsgBoxComponent } from '../chat-msg-box/chat-msg-box.component'; import { CommonModule } from '@angular/common'; -import { DownloadFilesService } from '../../../service/files.service'; import { ChannelService } from '../../../service/channel.service'; import { InfoComponent } from '../info/info.component'; 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 0b69647..7af6767 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 @@ -62,12 +62,22 @@ [btnBgHoverColor]="'#edeefe'" (click)="targetChatUser($event)" > + + @if (downloadFilesService.uploadFiles.length >= 1){ +

+ {{ "channel-msg-box.text0" | translate }} +

+ } @if(fileDataError){ +

+ {{ "channel-msg-box.text1" | translate }} +

+ }
@if (toggleBoolean.selectUserInMsgBox) {
@for(user of userService.getFiltertUsers; track user){
-
+
= 1 - }" - class="warningMessage" - > - {{ "channel-msg-box.text" | translate }} -

}
@if(textArea == ''){ @@ -110,7 +111,7 @@

{{ i.name }}

} }@else if (showUsers) { @for (i of userService.allUsers; track $index) {
-
+