mirror of https://github.com/langgenius/dify.git
merge main
This commit is contained in:
commit
d2eda60e0e
Binary file not shown.
|
Before Width: | Height: | Size: 187 KiB After Width: | Height: | Size: 71 KiB |
|
|
@ -71,7 +71,7 @@ const BaseField = ({
|
|||
})
|
||||
const memorizedOptions = useMemo(() => {
|
||||
return options?.filter((option) => {
|
||||
if (!option.show_on || option.show_on.length === 0)
|
||||
if (!option.show_on?.length)
|
||||
return true
|
||||
|
||||
return option.show_on.every((condition) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue