fix(filters): load projects after deleting a filter

This commit is contained in:
kolaente
2023-05-24 15:54:30 +02:00
parent 5ea450844c
commit bfb40c9166
+1
View File
@@ -128,6 +128,7 @@ export function useSavedFilter(projectId?: MaybeRef<IProject['id']>) {
async function deleteFilter() {
await filterService.delete(filter.value)
await projectStore.loadProjects()
success({message: t('filters.delete.success')})
router.push({name: 'projects.index'})
}