diff --git a/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/tool-group-block-component.tsx b/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/tool-group-block-component.tsx index 1e2d2d3311..3ff086e738 100644 --- a/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/tool-group-block-component.tsx +++ b/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/tool-group-block-component.tsx @@ -4,13 +4,12 @@ import type { PluginDetail } from '@/app/components/plugins/types' import type { ToolParameter } from '@/app/components/tools/types' import type { ToolValue } from '@/app/components/workflow/block-selector/types' import type { ToolWithProvider } from '@/app/components/workflow/types' -import { RiCloseLine } from '@remixicon/react' +import { RiCloseLine, RiEqualizer2Line } from '@remixicon/react' import * as React from 'react' import { useCallback, useEffect, useMemo, useState } from 'react' import { createPortal } from 'react-dom' import { useTranslation } from 'react-i18next' import AppIcon from '@/app/components/base/app-icon' -import { Settings01 } from '@/app/components/base/icons/src/vender/line/general' import Modal from '@/app/components/base/modal' import { useSelectOrDelete } from '@/app/components/base/prompt-editor/hooks' import Switch from '@/app/components/base/switch' @@ -650,7 +649,7 @@ const ToolGroupBlockComponent: FC = ({ )} {!needAuthorization && ( -
+
{t('toolGroup.actionsEnabled', { ns: 'workflow', num: displayEnabledCount })}
@@ -659,8 +658,8 @@ const ToolGroupBlockComponent: FC = ({
@@ -669,16 +668,19 @@ const ToolGroupBlockComponent: FC = ({
{item.toolParams?.length ? ( - +
+ +
+
) : null}
diff --git a/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/tool-header.tsx b/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/tool-header.tsx index 267daf70fa..6c6f671307 100644 --- a/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/tool-header.tsx +++ b/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/tool-header.tsx @@ -2,7 +2,7 @@ import type { FC } from 'react' import type { Emoji } from '@/app/components/tools/types' -import { RiArrowLeftSLine, RiBookOpenLine, RiCloseLine } from '@remixicon/react' +import { RiArrowLeftSLine, RiCloseLine } from '@remixicon/react' import AppIcon from '@/app/components/base/app-icon' type ToolHeaderProps = { @@ -82,15 +82,6 @@ const ToolHeader: FC = ({
-