Changed PDF Detection

This commit is contained in:
2025-04-12 11:25:08 +02:00
parent f49d6f45b6
commit bb4aea512d
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ const showFile = (file) => {
<iframe
:src="`${documentData.url}#toolbar=0&navpanes=0&scrollbar=0`"
class="previewEmbed"
v-if="documentData.path.includes('pdf')"
v-if="documentData.path.toLowerCase().includes('pdf')"
loading="lazy"
/>
<img