From 49f9057b6b7342caec516e56ee9d4dc337bf3b83 Mon Sep 17 00:00:00 2001 From: wukko Date: Wed, 10 Jul 2024 23:35:40 +0600 Subject: [PATCH] web/SettingsNavSection: make section title optional --- web/src/components/settings/SettingsNavSection.svelte | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/src/components/settings/SettingsNavSection.svelte b/web/src/components/settings/SettingsNavSection.svelte index a004be0d..7a6527e6 100644 --- a/web/src/components/settings/SettingsNavSection.svelte +++ b/web/src/components/settings/SettingsNavSection.svelte @@ -1,11 +1,15 @@
-
{$t(`settings.section.${sectionTitle}`)}
+ {#if sectionTitle} +
+ {$t(`settings.section.${sectionTitle}`)} +
+ {/if}