π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: update getMeta call since it include base id
Pranav C886915ab3017
diff --git a/packages/nc-gui/composables/useColumnCreateStore.ts b/packages/nc-gui/composables/useColumnCreateStore.tsindex d23b744ab5..e607969a27 100644--- a/packages/nc-gui/composables/useColumnCreateStore.ts+++ b/packages/nc-gui/composables/useColumnCreateStore.ts@@ -421,7 +421,11 @@ const [useProvideColumnCreateStore, useColumnCreateStore] = createInjectionState// if LTARv2 column update and relation type changed// then reload the reference table metaif (isMMOrMMLike(column.value))- getMeta((column.value?.colOptions as LinkToAnotherRecordType)?.fk_related_model_id, true)+ getMeta(+ (column.value?.colOptions as LinkToAnotherRecordType)?.fk_related_base_id ?? column.value?.base_id,+ (column.value?.colOptions as LinkToAnotherRecordType)?.fk_related_model_id,+ true,+ )if (oldCol && [UITypes.Date, UITypes.DateTime, UITypes.CreatedTime, UITypes.LastModifiedTime].includes(oldCol.uidt)) {viewsStore.loadViews({