fix: icon when process upload, refaceFile

This commit is contained in:
puri-ph4tt 2023-12-08 10:29:44 +07:00
parent 275614cee5
commit 73821d4d2b
4 changed files with 45 additions and 10 deletions

View file

@ -91,9 +91,9 @@ async function downloadSubmit(path: string | undefined) {
<div class="q-px-md flex items-center justify-center">
<file-icon
size="preview"
:fileName="fileInfo?.fileName ? fileInfo.fileName : undefined"
:fileName="fileInfo?.fileName ? fileInfo.fileName : 'unknown'"
:fileMimeType="
fileInfo?.fileType ? fileInfo.fileType : undefined
fileInfo?.fileType ? fileInfo.fileType : 'unknown'
"
/>
</div>