π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: remove unused part
mertmitfa7f264daa2a
diff --git a/packages/nc-gui/composables/useSharedView.ts b/packages/nc-gui/composables/useSharedView.tsindex 5ca404a046..fe7146e6c8 100644--- a/packages/nc-gui/composables/useSharedView.ts+++ b/packages/nc-gui/composables/useSharedView.ts@@ -102,19 +102,6 @@ export function useSharedView() {let order = 1- // Required for Calendar View- const rangeFields: Array<string> = []- if ((sharedView.value?.view as CalendarType)?.calendar_range?.length) {- for (const range of (sharedView.value?.view as CalendarType)?.calendar_range ?? []) {- if (range.fk_from_column_id) {- rangeFields.push(range.fk_from_column_id)- }- if ((range as any).fk_to_column_id) {- rangeFields.push((range as any).fk_to_column_id)- }- }- }-if (meta.value) {meta.value.columns = [...viewMeta.model.columns].map((c) => ({ ...c, order: order++ })).sort((a, b) => a.order - b.order)}