Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SSHOC
sshoc-marketplace-frontend
Commits
a8ef25a9
Commit
a8ef25a9
authored
Mar 06, 2021
by
Stefan Probst
Browse files
fix: invalidate correct query after workflow edit
parent
7ff49822
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/item/WorkflowEditForm/WorkflowEditForm.tsx
View file @
a8ef25a9
...
...
@@ -68,7 +68,7 @@ export function ItemForm(props: ItemFormProps<ItemFormValues>): JSX.Element {
queryKey
:
[
'
getWorkflows
'
],
})
queryClient
.
invalidateQueries
({
queryKey
:
[
'
getWorkflow
'
,
{
i
d
:
data
.
persistentId
}],
queryKey
:
[
'
getWorkflow
'
,
{
workflowI
d
:
data
.
persistentId
}],
})
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment