|
|
@ -25,6 +25,7 @@ export function useViewFilters( |
|
|
|
isNestedRoot?: boolean, |
|
|
|
isNestedRoot?: boolean, |
|
|
|
) { |
|
|
|
) { |
|
|
|
let currentFilters = $ref(_currentFilters) |
|
|
|
let currentFilters = $ref(_currentFilters) |
|
|
|
|
|
|
|
|
|
|
|
const reloadHook = inject(ReloadViewDataHookInj) |
|
|
|
const reloadHook = inject(ReloadViewDataHookInj) |
|
|
|
|
|
|
|
|
|
|
|
const { nestedFilters } = useSmartsheetStoreOrThrow() |
|
|
|
const { nestedFilters } = useSmartsheetStoreOrThrow() |
|
|
@ -41,7 +42,7 @@ export function useViewFilters( |
|
|
|
|
|
|
|
|
|
|
|
const nestedMode = computed(() => isPublic.value || !isUIAllowed('filte rSync') || !isUIAllowed('filterChildrenRead')) |
|
|
|
const nestedMode = computed(() => isPublic.value || !isUIAllowed('filte rSync') || !isUIAllowed('filterChildrenRead')) |
|
|
|
|
|
|
|
|
|
|
|
const tabMeta = inject(TabMetaInj, ref({ filterState: new Map() } as TabItem)) |
|
|
|
const tabMeta = inject(TabMetaInj, ref({ filterState: new Map(), sortsState: new Map() } as TabItem)) |
|
|
|
|
|
|
|
|
|
|
|
const filters = computed<Filter[]>({ |
|
|
|
const filters = computed<Filter[]>({ |
|
|
|
get: () => { |
|
|
|
get: () => { |
|
|
|