1
0

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

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