From cb0165827f85052328c510fd86d95cea440c2052 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 25 Feb 2026 17:30:28 -0600 Subject: [PATCH] refac --- src/lib/components/layout/Navbar/Menu.svelte | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/src/lib/components/layout/Navbar/Menu.svelte b/src/lib/components/layout/Navbar/Menu.svelte index 1fb7e437d..72fe5b185 100644 --- a/src/lib/components/layout/Navbar/Menu.svelte +++ b/src/lib/components/layout/Navbar/Menu.svelte @@ -311,21 +311,6 @@
{$i18n.t('Settings')}
--> - {#if $mobile && ($user?.role === 'admin' || ($user?.permissions.chat?.controls ?? true))} - { - await showControls.set(true); - await showArtifacts.set(false); - await showEmbeds.set(false); - }} - > - -
{$i18n.t('Controls')}
-
- {/if} {#if ($artifactContents ?? []).length > 0}
{$i18n.t('Artifacts')}
- {/if} -
+
+ {/if} {#if !$temporaryChatEnabled && ($user?.role === 'admin' || ($user.permissions?.chat?.share ?? true))}