fix(filters): load projects after deleting a filter

This commit is contained in:
kolaente 2023-03-28 16:44:48 +02:00
parent 5ea450844c
commit bfb40c9166
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

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'})
}