fix(filters): load projects after updating a filter

This commit is contained in:
kolaente 2023-03-28 16:45:08 +02:00
parent bfb40c9166
commit 8ed201c83f
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

View File

@ -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