fix: on view change from dropdown consider view type
This commit is contained in:
parent
6dd1ad9678
commit
35629d7937
@ -554,7 +554,11 @@ const viewsDropdownOptions = computed(() => {
|
||||
: view.filters
|
||||
view.onClick = () => {
|
||||
viewUpdated.value = false
|
||||
router.push({ ...route, query: { view: view.name } })
|
||||
router.push({
|
||||
name: route.name,
|
||||
params: { viewType: view.type || 'list' },
|
||||
query: { view: view.name },
|
||||
})
|
||||
}
|
||||
})
|
||||
let publicViews = list.value.data.views.filter((v) => v.public)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user