| } | } | ||||
| export const useInvalidLastRun = (flowType: FlowType, flowId: string, nodeId: string) => { | 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 | // Rerun workflow or change the version of workflow |