From 028f29556fd261a7054fbf917a833031f79a6188 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 1 Oct 2025 22:51:57 -0500 Subject: [PATCH] refac --- src/lib/components/layout/Navbar/Menu.svelte | 24 +++++++++----------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/src/lib/components/layout/Navbar/Menu.svelte b/src/lib/components/layout/Navbar/Menu.svelte index 65448b2c6a..19170e5b7b 100644 --- a/src/lib/components/layout/Navbar/Menu.svelte +++ b/src/lib/components/layout/Navbar/Menu.svelte @@ -431,9 +431,9 @@
{$i18n.t('Copy')}
-
+ {#if !$temporaryChatEnabled && chat?.id} +
- {#if chat?.id} - {/if} - { - archiveChatHandler(); - }} - > - -
{$i18n.t('Archive')}
-
+ { + archiveChatHandler(); + }} + > + +
{$i18n.t('Archive')}
+
- {#if !$temporaryChatEnabled}