forked from open-webui/open-webui
feat: chat history incognito mode
This commit is contained in:
parent
77a4c4ce3e
commit
13d9e6675e
4 changed files with 332 additions and 262 deletions
|
@ -238,6 +238,11 @@
|
|||
|
||||
const toggleSaveChatHistory = async () => {
|
||||
saveChatHistory = !saveChatHistory;
|
||||
console.log(saveChatHistory);
|
||||
|
||||
if (saveChatHistory === false) {
|
||||
await goto('/');
|
||||
}
|
||||
saveSettings({ saveChatHistory: saveChatHistory });
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue