diff --git a/src/app/components/main-chat/single-chat/attachments/attachments.component.html b/src/app/components/main-chat/single-chat/attachments/attachments.component.html index 81b9989..20c9356 100644 --- a/src/app/components/main-chat/single-chat/attachments/attachments.component.html +++ b/src/app/components/main-chat/single-chat/attachments/attachments.component.html @@ -12,7 +12,7 @@ }" (click)="showOverlay(filePath)" /> - } @if (['pdf', 'doc', 'txt'].includes(getFileType(filePath))) { + } @if (['pdf', 'doc', 'docx'].includes(getFileType(filePath))) { - } @if (['mp3', 'wav', 'wma'].includes(getFileType(filePath))) { + } @if (['mp3', 'wav'].includes(getFileType(filePath))) { - }@if (getFileType(filePath) === 'mp4') { + } @if (['mp4', 'wmv', 'avi'].includes(getFileType(filePath))) {