diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 6157096e44..a3cb16f2a6 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -2230,7 +2230,7 @@ - {$settings.useChatTitleAsTabTitle !== false && $chatTitle + {$settings.showChatTitleInTab !== false && $chatTitle ? `${$chatTitle.length > 30 ? `${$chatTitle.slice(0, 30)}...` : $chatTitle} • ${$WEBUI_NAME}` : `${$WEBUI_NAME}`} diff --git a/src/lib/components/chat/Settings/Interface.svelte b/src/lib/components/chat/Settings/Interface.svelte index 9f6e1a11a2..4ae24d0846 100644 --- a/src/lib/components/chat/Settings/Interface.svelte +++ b/src/lib/components/chat/Settings/Interface.svelte @@ -66,7 +66,7 @@ let chatFadeStreamingText = true; let collapseCodeBlocks = false; let expandDetails = false; - let useChatTitleAsTabTitle = true; + let showChatTitleInTab = true; let showFloatingActionButtons = true; let floatingActionButtons = null; @@ -225,7 +225,7 @@ temporaryChatByDefault = $settings?.temporaryChatByDefault ?? false; chatDirection = $settings?.chatDirection ?? 'auto'; userLocation = $settings?.userLocation ?? false; - useChatTitleAsTabTitle = $settings?.useChatTitleAsTabTitle ?? true; + showChatTitleInTab = $settings?.showChatTitleInTab ?? true; notificationSound = $settings?.notificationSound ?? true; notificationSoundAlways = $settings?.notificationSoundAlways ?? false; @@ -334,16 +334,16 @@
- {$i18n.t("Use the chat title as the browser's tab title")} + {$i18n.t('Display chat title in tab')}
{ - saveSettings({ useChatTitleAsTabTitle }); + saveSettings({ showChatTitleInTab }); }} />
diff --git a/src/lib/stores/index.ts b/src/lib/stores/index.ts index d4ae4d4623..b6926dda04 100644 --- a/src/lib/stores/index.ts +++ b/src/lib/stores/index.ts @@ -184,7 +184,7 @@ type Settings = { notificationEnabled?: boolean; highContrastMode?: boolean; title?: TitleSettings; - useChatTitleAsTabTitle?: boolean; + showChatTitleInTab?: boolean; splitLargeDeltas?: boolean; chatDirection?: 'LTR' | 'RTL' | 'auto'; ctrlEnterToSend?: boolean;