Jon/construct cache key and show (#3242)

This commit is contained in:
Jonathan Dobson
2025-08-20 13:47:17 -04:00
committed by GitHub
parent 55bc6bd367
commit 0913e4f0a0
4 changed files with 81 additions and 15 deletions

View File

@@ -152,6 +152,10 @@ const useWorkflowSave = () => {
queryKey: ["workflows"],
});
queryClient.invalidateQueries({
queryKey: ["block-scripts", saveData.workflow.workflow_permanent_id],
});
setHasChanges(false);
},
onError: (error: AxiosError) => {