mirror of
https://github.com/open-webui/open-webui
synced 2025-04-02 00:26:46 +00:00
refac
This commit is contained in:
parent
670441f548
commit
79cb9383d9
@ -243,11 +243,9 @@
|
|||||||
const tagEventHandler = async (type, tagName, chatId) => {
|
const tagEventHandler = async (type, tagName, chatId) => {
|
||||||
console.log(type, tagName, chatId);
|
console.log(type, tagName, chatId);
|
||||||
if (type === 'delete') {
|
if (type === 'delete') {
|
||||||
currentChatPage.set(1);
|
initChatList();
|
||||||
await chats.set(await getChatListBySearchText(localStorage.token, search, $currentChatPage));
|
|
||||||
} else if (type === 'add') {
|
} else if (type === 'add') {
|
||||||
currentChatPage.set(1);
|
initChatList();
|
||||||
await chats.set(await getChatListBySearchText(localStorage.token, search, $currentChatPage));
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user