Added Reloaded after File Upload

Change selection for Images
This commit is contained in:
2025-01-07 12:03:14 +01:00
parent 96184e4853
commit af38afc5b5
5 changed files with 16 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ const updateDocumentAssignment = async () => {
<iframe
:src="`${documentData.url}#toolbar=0&navpanes=0&scrollbar=0`"
class="previewEmbed"
v-if="!documentData.filetags.includes('Bild')"
v-if="documentData.path.includes('pdf')"
loading="lazy"
/>
<img
@@ -337,4 +337,8 @@ const updateDocumentAssignment = async () => {
aspect-ratio: 1/ 1.414;
}
.previewImg {
object-fit: contain;
}
</style>