forked from tuvn86/webapp-conversation
fix: app update var break old conversation
This commit is contained in:
parent
1ba3f24dc1
commit
d32faf12f2
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue