Commit a8ef25a9 authored by Stefan Probst's avatar Stefan Probst
Browse files

fix: invalidate correct query after workflow edit

parent 7ff49822
......@@ -68,7 +68,7 @@ export function ItemForm(props: ItemFormProps<ItemFormValues>): JSX.Element {
queryKey: ['getWorkflows'],
})
queryClient.invalidateQueries({
queryKey: ['getWorkflow', { id: data.persistentId }],
queryKey: ['getWorkflow', { workflowId: data.persistentId }],
})
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment