From 500e7d27ee6a34a7a049374200dcf84f28fd6915 Mon Sep 17 00:00:00 2001 From: Chneemann Date: Thu, 13 Jun 2024 04:48:57 +0200 Subject: [PATCH] bugfix display error msg --- .../components/main-chat/chat-msg-box/chat-msg-box.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/components/main-chat/chat-msg-box/chat-msg-box.component.ts b/src/app/components/main-chat/chat-msg-box/chat-msg-box.component.ts index 5fd0125..69f0eec 100644 --- a/src/app/components/main-chat/chat-msg-box/chat-msg-box.component.ts +++ b/src/app/components/main-chat/chat-msg-box/chat-msg-box.component.ts @@ -106,6 +106,7 @@ export class ChatMsgBoxComponent { const file = event.target.files[0]; const icon = this.checkIcon({ type: file.type }); if (icon !== null) { + this.fileDataError = false; this.currentFiles = event.target.files; this.hasFile = this.currentFiles.length > 0; if (this.currentFiles) {