Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: use invalid last run (#25911)

zxhlyh1264e7d4f68d
diff --git a/web/service/use-workflow.ts b/web/service/use-workflow.ts
index 2d4148e6dac..901b35994f5 100644
--- a/web/service/use-workflow.ts
+++ b/web/service/use-workflow.ts
@@ -118,7 +118,7 @@ export const useLastRun = (flowType: FlowType, flowId: string, nodeId: string, e
}
export const useInvalidLastRun = (flowType: FlowType, flowId: string, nodeId: string) => {
- return useInvalid([NAME_SPACE, flowType, 'last-run', flowId, nodeId])
+ return useInvalid([...useLastRunKey, flowType, flowId, nodeId])
}
// Rerun workflow or change the version of workflow