From 3a0900cbbc3f425e3e16ca8fd3e86de627b63489 Mon Sep 17 00:00:00 2001 From: Jakob Schnitzer Date: Sat, 26 Oct 2024 12:06:42 +0200 Subject: [PATCH] chore: use empty instead of self-closing tags will be a warning in Svelte 5 --- frontend/src/charts/Chart.svelte | 4 ++-- frontend/src/charts/ChartLegend.svelte | 2 +- frontend/src/editor/DocumentPreviewEditor.svelte | 2 +- frontend/src/editor/SliceEditor.svelte | 4 ++-- frontend/src/entry-forms/Note.svelte | 2 +- frontend/src/modals/AddEntry.svelte | 2 +- frontend/src/modals/ModalBase.svelte | 2 +- frontend/src/reports/documents/DocumentPreview.svelte | 4 ++-- frontend/src/reports/editor/Editor.svelte | 2 +- frontend/src/reports/errors/Errors.svelte | 4 ++-- frontend/src/reports/import/Extract.svelte | 4 ++-- frontend/src/reports/query/QueryBox.svelte | 2 +- frontend/src/reports/query/QueryEditor.svelte | 2 +- frontend/src/reports/query/ReadonlyQueryEditor.svelte | 2 +- frontend/src/sidebar/AccountIndicator.svelte | 6 +++--- frontend/src/sidebar/FilterForm.svelte | 2 +- frontend/src/sidebar/Header.svelte | 2 +- 17 files changed, 24 insertions(+), 24 deletions(-) diff --git a/frontend/src/charts/Chart.svelte b/frontend/src/charts/Chart.svelte index 59493cd7e..a49bd5036 100644 --- a/frontend/src/charts/Chart.svelte +++ b/frontend/src/charts/Chart.svelte @@ -42,7 +42,7 @@ active={treemapCurrency} /> {/if} - + {#if chart.type === "hierarchy"} {:else if chart.type === "linechart"} @@ -50,7 +50,7 @@ {:else if chart.type === "barchart" && chart.hasStackedData} {/if} - {:else}{/if} + {:else}{/if} {/each} diff --git a/frontend/src/editor/DocumentPreviewEditor.svelte b/frontend/src/editor/DocumentPreviewEditor.svelte index 39e69b876..c0a007497 100644 --- a/frontend/src/editor/DocumentPreviewEditor.svelte +++ b/frontend/src/editor/DocumentPreviewEditor.svelte @@ -28,7 +28,7 @@ } -
+