mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
fix: chat app added new var old conversation not work (#511)
This commit is contained in:
parent
b23d8a912b
commit
5e2c3eeac3
|
@ -369,6 +369,9 @@ const Main: FC<IMainProps> = ({
|
|||
}
|
||||
|
||||
const checkCanSend = () => {
|
||||
if (currConversationId !== '-1')
|
||||
return true
|
||||
|
||||
const prompt_variables = promptConfig?.prompt_variables
|
||||
const inputs = currInputs
|
||||
if (!inputs || !prompt_variables || prompt_variables?.length === 0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user