|
|
@ -10,6 +10,8 @@ const isPublic = inject(IsPublicInj, ref(false)) |
|
|
|
|
|
|
|
|
|
|
|
const { filterAutoSave } = useGlobal() |
|
|
|
const { filterAutoSave } = useGlobal() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const state = useGlobal() |
|
|
|
|
|
|
|
|
|
|
|
const filterComp = ref<typeof ColumnFilter>() |
|
|
|
const filterComp = ref<typeof ColumnFilter>() |
|
|
|
|
|
|
|
|
|
|
|
const { nestedFilters } = useSmartsheetStoreOrThrow() |
|
|
|
const { nestedFilters } = useSmartsheetStoreOrThrow() |
|
|
@ -26,7 +28,7 @@ const { filters, loadFilters } = useViewFilters( |
|
|
|
const filtersLength = ref(0) |
|
|
|
const filtersLength = ref(0) |
|
|
|
|
|
|
|
|
|
|
|
watchEffect(async () => { |
|
|
|
watchEffect(async () => { |
|
|
|
if (activeView?.value) { |
|
|
|
if (activeView?.value && state.signedIn.value) { |
|
|
|
await loadFilters() |
|
|
|
await loadFilters() |
|
|
|
|
|
|
|
|
|
|
|
filtersLength.value = filters.value.length || 0 |
|
|
|
filtersLength.value = filters.value.length || 0 |
|
|
|