diff --git a/web/service/use-workflow.ts b/web/service/use-workflow.ts index 901b35994f..5da83be360 100644 --- a/web/service/use-workflow.ts +++ b/web/service/use-workflow.ts @@ -123,7 +123,7 @@ export const useInvalidLastRun = (flowType: FlowType, flowId: string, nodeId: st // Rerun workflow or change the version of workflow export const useInvalidAllLastRun = (flowType?: FlowType, flowId?: string) => { - return useInvalid([NAME_SPACE, flowType, 'last-run', flowId]) + return useInvalid([...useLastRunKey, flowType, flowId]) } export const useConversationVarValues = (flowType?: FlowType, flowId?: string) => {