mirror of
https://github.com/langgenius/dify.git
synced 2026-04-30 21:58:00 +08:00
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(() => {
|
const memorizedOptions = useMemo(() => {
|
||||||
return options?.filter((option) => {
|
return options?.filter((option) => {
|
||||||
if (!option.show_on || option.show_on.length === 0)
|
if (!option.show_on?.length)
|
||||||
return true
|
return true
|
||||||
|
|
||||||
return option.show_on.every((condition) => {
|
return option.show_on.every((condition) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user