From 240f6890f17aff4ed4bfc7d808ca4e19b2920b0d Mon Sep 17 00:00:00 2001 From: Joel Date: Tue, 29 Jul 2025 16:29:59 +0800 Subject: [PATCH] fix: some lint --- .../_base/components/workflow-panel/last-run/use-last-run.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/app/components/workflow/nodes/_base/components/workflow-panel/last-run/use-last-run.ts b/web/app/components/workflow/nodes/_base/components/workflow-panel/last-run/use-last-run.ts index 9854f99dcd..503c4cdf9d 100644 --- a/web/app/components/workflow/nodes/_base/components/workflow-panel/last-run/use-last-run.ts +++ b/web/app/components/workflow/nodes/_base/components/workflow-panel/last-run/use-last-run.ts @@ -58,6 +58,7 @@ const singleRunFormParamsHooks: Record = { [BlockEnum.LoopStart]: undefined, [BlockEnum.LoopEnd]: undefined, [BlockEnum.DataSource]: undefined, + [BlockEnum.DataSourceEmpty]: undefined, [BlockEnum.KnowledgeBase]: undefined, } @@ -92,6 +93,7 @@ const getDataForCheckMoreHooks: Record = { [BlockEnum.LoopStart]: undefined, [BlockEnum.LoopEnd]: undefined, [BlockEnum.DataSource]: undefined, + [BlockEnum.DataSourceEmpty]: undefined, [BlockEnum.KnowledgeBase]: undefined, } @@ -202,7 +204,6 @@ const useLastRun = ({ setTabType(TabType.lastRun) setInitShowLastRunTab(false) - // eslint-disable-next-line react-hooks/exhaustive-deps }, [initShowLastRunTab]) const invalidLastRun = useInvalidLastRun(flowType, flowId, id)