diff --git a/tools/ui/src/lib/components/app/chat/ChatTabs/ChatTabs.svelte b/tools/ui/src/lib/components/app/chat/ChatTabs/ChatTabs.svelte index ec53e735fe..53daaefd70 100644 --- a/tools/ui/src/lib/components/app/chat/ChatTabs/ChatTabs.svelte +++ b/tools/ui/src/lib/components/app/chat/ChatTabs/ChatTabs.svelte @@ -1,11 +1,12 @@ @@ -60,67 +78,57 @@ : 'max-w-[calc(100vw-4.5rem)]'}" aria-label="Open conversations" > -
- + {#each tabs as tab (tab.id)} + tabsStore.activate(id)} + onClose={handleClose} + onStop={handleStop} + onAuxClick={handleAuxClick} + /> + {/each} + + {#if showNewChatButton} + + + {#snippet child({ props })} + + {/snippet} + + + +

New chat

+
+
+ {/if} +
-
- {#each tabs as tab (tab.id)} - tabsStore.activate(id)} - onClose={handleClose} - onStop={handleStop} - onAuxClick={handleAuxClick} - /> - {/each} - - {#if showNewChatButton} - - - {#snippet child({ props })} - - {/snippet} - - - -

New chat

-
-
- {/if} -
-
- - + : 'opacity-0'}" + >
+