forked from vikunja/frontend
fix(filters): load projects after updating a filter
This commit is contained in:
parent
cfbaef4f8a
commit
b61060090c
|
@ -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…
Reference in New Issue
Block a user