π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: keep opened group info locally
DarkPhoenix2704437a11b1bf2c
diff --git a/packages/nc-gui/composables/useInfiniteGroups.ts b/packages/nc-gui/composables/useInfiniteGroups.tsindex b2b7b10cab..d6e1a7b0c4 100644--- a/packages/nc-gui/composables/useInfiniteGroups.ts+++ b/packages/nc-gui/composables/useInfiniteGroups.ts@@ -8,9 +8,9 @@ import {UITypes,type ViewType,} from 'nocodb-sdk'+import { useStorage } from '@vueuse/core'import { createGroupUniqueIdentifier, generateGroupPath } from '../components/smartsheet/grid/canvas/utils/groupby'import type { CanvasGroup } from '#imports'-const GROUP_CHUNK_SIZE = 100const MAX_GROUP_CACHE_SIZE = 100@@ -42,7 +42,7 @@ export const useInfiniteGroups = (const isPublic = inject(IsPublicInj, ref(false))const sharedViewPassword = inject(SharedViewPasswordInj, ref(null))- const activeGroupKeys = ref<Array<string>>([])+ const activeGroupKeys = useStorage<Array<string>>(`active-group-keys-${view.value?.id}`, [])const routeQuery = computed(() => router.currentRoute.value.query as Record<string, string>)const columnsById = computed(() => {