fix: pdf not found

This commit is contained in:
Methapon Metanipat 2024-08-27 13:04:34 +07:00
parent 58aea36328
commit 6103a05660

View file

@ -175,7 +175,7 @@ const { pdf, pages } = usePDF(computed(() => currentFile.value?.url));
>
<VuePDF
v-if="
currentFile?.url?.endsWith('.pdf') ||
currentFile?.url?.split('?').at(0)?.endsWith('.pdf') ||
currentFile?.file?.type === 'application/pdf'
"
class="q-py-md"