Skip to content

Commit 95f29ac

Browse files
committed
perf: Hidden temporary
1 parent e94b4f6 commit 95f29ac

3 files changed

Lines changed: 3 additions & 13 deletions

File tree

backend/open_webui/jms/data/replay/79d62732-579a-45fe-91bf-291f587d32b1.cast

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/lib/components/chat/Navbar.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
{#if !chat?.id}
117117
<Tooltip content={$i18n.t(`Temporary Chat`)}>
118118
<button
119-
class="flex cursor-pointer px-2 py-2 rounded-xl hover:bg-gray-50 dark:hover:bg-gray-850 transition"
119+
class="flex cursor-pointer px-2 py-2 rounded-xl hover:bg-gray-50 dark:hover:bg-gray-850 transition hidden"
120120
id="temporary-chat-button"
121121
on:click={async () => {
122122
if (($settings?.temporaryChatByDefault ?? false) && $temporaryChatEnabled) {

src/lib/components/layout/Sidebar.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
toggleChatPinnedStatusById,
4040
getChatById,
4141
updateChatFolderIdById,
42-
importChat
42+
importChat,
43+
getChatListBySearchText
4344
} from '$lib/apis/chats';
4445
import { createNewFolder, getFolders, updateFolderParentIdById } from '$lib/apis/folders';
4546
import { WEBUI_BASE_URL } from '$lib/constants';

0 commit comments

Comments
 (0)