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(