mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00: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