bugfix display error msg

This commit is contained in:
Chneemann 2024-06-13 04:48:57 +02:00
parent adaccb8c73
commit 500e7d27ee

View file

@ -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) {