diff --git a/frontend/src/lib/components/PdfViewer.svelte b/frontend/src/lib/components/PdfViewer.svelte index 6c3deb33..323c3cc6 100644 --- a/frontend/src/lib/components/PdfViewer.svelte +++ b/frontend/src/lib/components/PdfViewer.svelte @@ -403,54 +403,45 @@ function zoomOut() { title="Farbe wählen" /> {/if} - - - - {#if annotations.length > 0} - - {/if} + {showAnnotations ? m.pdf_annotations_hide() : m.pdf_annotations_show()} + + {/if} +