mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2025-12-08 17:32:27 +08:00
fix: app update var break old conversation
This commit is contained in:
@ -244,6 +244,9 @@ const Main: FC = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const checkCanSend = () => {
|
const checkCanSend = () => {
|
||||||
|
if (currConversationId !== '-1')
|
||||||
|
return true
|
||||||
|
|
||||||
if (!currInputs || !promptConfig?.prompt_variables)
|
if (!currInputs || !promptConfig?.prompt_variables)
|
||||||
return true
|
return true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user