From 3aeebcc911ca00834a60f9e43297bdeddcef4846 Mon Sep 17 00:00:00 2001 From: wukko Date: Sun, 28 Jul 2024 19:20:32 +0600 Subject: [PATCH] web/SavingDialog: don't render body text parent if there's no text --- web/src/components/dialog/SavingDialog.svelte | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/web/src/components/dialog/SavingDialog.svelte b/web/src/components/dialog/SavingDialog.svelte index 4940af3c..bba591f1 100644 --- a/web/src/components/dialog/SavingDialog.svelte +++ b/web/src/components/dialog/SavingDialog.svelte @@ -70,9 +70,11 @@ -
- {bodyText} -
+ {#if bodyText} +
+ {bodyText} +
+ {/if}