mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 00:48:04 +08:00
datasource list
This commit is contained in:
@ -519,8 +519,6 @@ const formatItem = (
|
||||
const isFile = v.type === VarType.file
|
||||
const children = (() => {
|
||||
if (isFile) {
|
||||
if (v.children)
|
||||
return v.children
|
||||
return OUTPUT_FILE_SUB_VARIABLES.map((key) => {
|
||||
return {
|
||||
variable: key,
|
||||
@ -539,8 +537,6 @@ const formatItem = (
|
||||
const isFile = v.type === VarType.file
|
||||
const { children } = (() => {
|
||||
if (isFile) {
|
||||
if (v.children)
|
||||
return { children: v.children }
|
||||
return {
|
||||
children: OUTPUT_FILE_SUB_VARIABLES.map((key) => {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user