mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac
This commit is contained in:
parent
291834ecbe
commit
8514669053
@ -2040,7 +2040,7 @@
|
|||||||
{stopResponse}
|
{stopResponse}
|
||||||
{createMessagePair}
|
{createMessagePair}
|
||||||
onChange={(input) => {
|
onChange={(input) => {
|
||||||
if (input.prompt) {
|
if (input.prompt !== null) {
|
||||||
localStorage.setItem(`chat-input-${$chatId}`, JSON.stringify(input));
|
localStorage.setItem(`chat-input-${$chatId}`, JSON.stringify(input));
|
||||||
} else {
|
} else {
|
||||||
localStorage.removeItem(`chat-input-${$chatId}`);
|
localStorage.removeItem(`chat-input-${$chatId}`);
|
||||||
|
Loading…
Reference in New Issue
Block a user