From f90f3287d80ff9e2eb387389a9780d90a83680c4 Mon Sep 17 00:00:00 2001 From: Joel Date: Mon, 26 Jan 2026 15:23:15 +0800 Subject: [PATCH] fix: provider and tool auth click not show --- .../plugins/plugin-auth/authorized/index.tsx | 12 +++++++----- .../skill-editor/plugins/tool-block/component.tsx | 4 +++- .../tool-block/tool-group-block-component.tsx | 4 +++- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/web/app/components/plugins/plugin-auth/authorized/index.tsx b/web/app/components/plugins/plugin-auth/authorized/index.tsx index ea58cd16c9..bf5266f4ea 100644 --- a/web/app/components/plugins/plugin-auth/authorized/index.tsx +++ b/web/app/components/plugins/plugin-auth/authorized/index.tsx @@ -216,11 +216,13 @@ const Authorized = ({ ) } - -
+
{ diff --git a/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/component.tsx b/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/component.tsx index abda84bc99..0b861e73be 100644 --- a/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/component.tsx +++ b/web/app/components/workflow/skill/editor/skill-editor/plugins/tool-block/component.tsx @@ -283,6 +283,8 @@ const ToolBlockComponent: FC = ({ return if (target instanceof Element && target.closest('[data-readme-panel-root="true"], [data-readme-panel="true"]')) return + if (target instanceof Element && target.closest('[data-plugin-auth-portal="true"], [data-plugin-auth-panel="true"]')) + return if (target instanceof Element && target.closest('[data-modal-root="true"]')) return if (panelEl.contains(target)) @@ -487,7 +489,7 @@ const ToolBlockComponent: FC = ({ )} {!useModal && portalContainer && isSettingOpen && createPortal(
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 3ff086e738..e94b255b63 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 @@ -352,6 +352,8 @@ const ToolGroupBlockComponent: FC = ({ return if (target instanceof Element && target.closest('[data-readme-panel-root="true"], [data-readme-panel="true"]')) return + if (target instanceof Element && target.closest('[data-plugin-auth-portal="true"], [data-plugin-auth-panel="true"]')) + return if (target instanceof Element && target.closest('[data-modal-root="true"]')) return if (panelEl.contains(target)) @@ -749,7 +751,7 @@ const ToolGroupBlockComponent: FC = ({ )} {!useModal && portalContainer && isSettingOpen && createPortal(