mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
feat: delete idb after migration
This commit is contained in:
@@ -49,15 +49,6 @@
|
||||
await deleteChatById(localStorage.token, id);
|
||||
await chats.set(await getChatList(localStorage.token));
|
||||
};
|
||||
|
||||
// const deleteChatHistory = async () => {
|
||||
// await $db.deleteAllChat();
|
||||
|
||||
// const tx = this.db.transaction('chats', 'readwrite');
|
||||
// await Promise.all([tx.store.clear(), tx.done]);
|
||||
|
||||
// await chats.set(await this.getChats());
|
||||
// };
|
||||
</script>
|
||||
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user