From 1d1b945483ad00847d471d6df441fc088a31ad6f Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Tue, 4 Jun 2024 09:56:51 -0700 Subject: [PATCH] fix --- src/lib/components/layout/Navbar.svelte | 2 +- src/lib/components/layout/Navbar/Menu.svelte | 53 +++++++++----------- 2 files changed, 25 insertions(+), 30 deletions(-) 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')}
+