Skip to content

best way to save what you love

web/SavingDialog: don't render body text parent if there's no text

wukko3aeebcc911ca
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 @@
</VerticalActionButton>
</div>
</div>
- <div class="body-text">
- {bodyText}
- </div>
+ {#if bodyText}
+ <div class="body-text">
+ {bodyText}
+ </div>
+ {/if}
<DialogButtons
buttons={[
{