fix: use invalid last run (#25911)

This commit is contained in:
zxhlyh authored and GitHub committed 2025-09-18 16:52:27 +08:00
1 parent 4f45978cd9
commit 1264e7d4f6
1 file changed
+1 -1
+1 -1
View File
@@ -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