π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
refactor: remove unused function
Pranav Ca37f9b9d90ae
diff --git a/packages/nc-gui/composables/useGridViewData.ts b/packages/nc-gui/composables/useGridViewData.tsindex 4f5b624d7a..7aa5b7ca3c 100644--- a/packages/nc-gui/composables/useGridViewData.ts+++ b/packages/nc-gui/composables/useGridViewData.ts@@ -205,52 +205,7 @@ export function useGridViewData(return targetGroup.count}- async function getGroupFilter(path: Array<number> = [], ignoreWhereFilter = false) {- let group = findGroupByPath(cachedGroups.value, path)-- if (!group) {- try {- let currentGroups = cachedGroups.value- let parentGroup: CanvasGroup | undefined- let targetIndex: number | undefined-- for (let depth = 0; depth < path.length; depth++) {- const groupIndex = path[depth]- const currentGroup = currentGroups.get(groupIndex)-- if (!currentGroup) {- targetIndex = groupIndex- break- }-- if (depth === path.length - 1) {- targetIndex = groupIndex- break- }-- if (!currentGroup.isExpanded || !currentGroup.groups) {- return ''- }-- parentGroup = currentGroup- currentGroups = currentGroup.groups- }-- if (targetIndex !== undefined) {- await fetchMissingGroupChunks(targetIndex, targetIndex, parentGroup)- }-- group = findGroupByPath(cachedGroups.value, path)- } catch (error) {- console.error(`Failed to load group for path ${path}:`, error)- return ''- }- }-- return buildNestedWhere(group, ignoreWhereFilter ? '' : where?.value)- }-- async function getGroupFilterArr(path: Array<number> = [], ignoreWhereFilter = false) {+ async function getGroupFilterArr(path: Array<number> = [], _ignoreWhereFilter = false) {let group = findGroupByPath(cachedGroups.value, path)if (!group) {