fix(filters): load projects after updating a filter
This commit is contained in:
parent
bfb40c9166
commit
8ed201c83f
@ -116,6 +116,7 @@ export function useSavedFilter(projectId?: MaybeRef<IProject['id']>) {
|
||||
|
||||
async function saveFilter() {
|
||||
const response = await filterService.update(filter.value)
|
||||
await projectStore.loadProjects()
|
||||
success({message: t('filters.edit.success')})
|
||||
response.filters = objectToSnakeCase(response.filters)
|
||||
filter.value = response
|
||||
|
Loading…
x
Reference in New Issue
Block a user