mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-03 18:17:56 -05:00
fix: temporary chat button missing on new chats when tabs are enabled (#33680)
With the tabbed layout on, the Temporary Chat button disappeared from a new chat, so a temporary chat could not be started from there. The button now shows in the new chat's tab like it did in the classic navbar.
This commit is contained in:
1 parent
40b1c561a5
commit
40b7b5201b
1 file changed
+1
-1
@@ -188,7 +188,7 @@
|
||||
|
||||
{#snippet renderChatActions()}
|
||||
{#if $user?.role === 'user' ? ($user?.permissions?.chat?.temporary ?? true) && !($user?.permissions?.chat?.temporary_enforced ?? false) : true}
|
||||
{#if !chat?.id && !tabbed}
|
||||
{#if !chat?.id}
|
||||
<Tooltip content={$i18n.t(`Temporary Chat`)}>
|
||||
<button
|
||||
class="flex size-6 cursor-pointer items-center justify-center rounded-lg text-gray-500 transition hover:bg-gray-50/40 hover:text-gray-700 dark:text-gray-400 dark:hover:bg-gray-800/40 dark:hover:text-gray-200"
|
||||
|
||||
Reference in new issue
Block a user