mirror of https://github.com/langgenius/dify.git
fix
This commit is contained in:
parent
498d8ab33c
commit
e4cf6a497b
|
|
@ -19,7 +19,7 @@ export const useCheckValidated = (form: AnyFormApi, FormSchemas: FormSchema[]) =
|
|||
acc[condition.variable] = values[condition.variable]
|
||||
return acc
|
||||
}, {} as Record<string, any>)
|
||||
const show = currentSchema?.show_on?.every((condition) => {
|
||||
const show = show_on?.every((condition) => {
|
||||
const conditionValue = showOnValues[condition.variable]
|
||||
return conditionValue === condition.value
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue