diff --git a/web/app/components/workflow/panel/chat-variable-panel/components/object-value-item.tsx b/web/app/components/workflow/panel/chat-variable-panel/components/object-value-item.tsx index 8ef7125f62..16ebd78db8 100644 --- a/web/app/components/workflow/panel/chat-variable-panel/components/object-value-item.tsx +++ b/web/app/components/workflow/panel/chat-variable-panel/components/object-value-item.tsx @@ -5,7 +5,7 @@ import { produce } from 'immer' import * as React from 'react' import { useCallback, useState } from 'react' import { useTranslation } from 'react-i18next' -import RemoveButton from '@/app/components/workflow/nodes/_base/components/remove-button' +import ActionButton from '@/app/components/base/action-button' import VariableTypeSelector from '@/app/components/workflow/panel/chat-variable-panel/components/variable-type-select' import { ChatVarType } from '@/app/components/workflow/panel/chat-variable-panel/type' @@ -116,7 +116,7 @@ const ObjectValueItem: FC = ({ {/* Value */}
= ({ type={list[index].type === ChatVarType.Number ? 'number' : 'text'} /> {list.length > 1 && !isFocus && ( - +
+ + + +
)}