fix: use invalid last run (#25911)

This commit is contained in:
zxhlyh
2025-09-18 16:52:27 +08:00
committed by GitHub
parent 4f45978cd9
commit 1264e7d4f6

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