mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 17:35:55 +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 = () => {
|
const checkCanSend = () => {
|
||||||
|
if (currConversationId !== '-1')
|
||||||
|
return true
|
||||||
|
|
||||||
const prompt_variables = promptConfig?.prompt_variables
|
const prompt_variables = promptConfig?.prompt_variables
|
||||||
const inputs = currInputs
|
const inputs = currInputs
|
||||||
if (!inputs || !prompt_variables || prompt_variables?.length === 0)
|
if (!inputs || !prompt_variables || prompt_variables?.length === 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user