Handle files without stored paths
All checks were successful
Build and Push Docker Images / build-frontend (push) Successful in 1m54s
Build and Push Docker Images / build-website (push) Successful in 37s
Build and Push Docker Images / build-backend (push) Successful in 36s
Build and Push Docker Images / build-central-services-api (push) Successful in 35s
Build and Push Docker Images / build-central-services-admin (push) Successful in 34s
Build and Push Docker Images / build-docs (push) Successful in 34s

This commit is contained in:
2026-08-09 18:15:37 +02:00
parent e5fab70056
commit 49cbc9314e
2 changed files with 8 additions and 3 deletions

View File

@@ -152,7 +152,7 @@ setup()
<div class="flex flex-row">
<div class="w-1/3">
<PDFViewer
v-if="props.documentData.id && props.documentData.path.toLowerCase().includes('pdf')"
v-if="props.documentData.id && String(props.documentData.path || '').toLowerCase().includes('pdf')"
:file-id="props.documentData.id" />
<img