fix(filters): load projects after deleting a filter
This commit is contained in:
parent
5ea450844c
commit
bfb40c9166
@ -128,6 +128,7 @@ export function useSavedFilter(projectId?: MaybeRef<IProject['id']>) {
|
|||||||
|
|
||||||
async function deleteFilter() {
|
async function deleteFilter() {
|
||||||
await filterService.delete(filter.value)
|
await filterService.delete(filter.value)
|
||||||
|
await projectStore.loadProjects()
|
||||||
success({message: t('filters.delete.success')})
|
success({message: t('filters.delete.success')})
|
||||||
router.push({name: 'projects.index'})
|
router.push({name: 'projects.index'})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user