mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-22 14:49:31 +01:00
enh: temporary-chat url search param
This commit is contained in:
@@ -270,9 +270,11 @@
|
||||
//////////////////////////
|
||||
|
||||
const initNewChat = async () => {
|
||||
window.history.replaceState(history.state, '', `/`);
|
||||
await chatId.set('');
|
||||
if ($page.url.pathname.includes('/c/')) {
|
||||
window.history.replaceState(history.state, '', `/`);
|
||||
}
|
||||
|
||||
await chatId.set('');
|
||||
autoScroll = true;
|
||||
|
||||
title = '';
|
||||
|
||||
Reference in New Issue
Block a user