diff --git a/src/lib/components/layout/Navbar.svelte b/src/lib/components/layout/Navbar.svelte index 8abf44ccf..ac35dab66 100644 --- a/src/lib/components/layout/Navbar.svelte +++ b/src/lib/components/layout/Navbar.svelte @@ -67,7 +67,7 @@
- {#if shareEnabled} + {#if shareEnabled && chat && chat.id} {$i18n.t('Settings')}
--> - {#if chat && chat.id} - { - shareHandler(); - }} + { + shareHandler(); + }} + > + - - - -
{$i18n.t('Share')}
-
- {/if} - + + +
{$i18n.t('Share')}
+