diff --git a/packages/nc-gui/components/erd/TableNode.vue b/packages/nc-gui/components/erd/TableNode.vue index 7186596f67..3994139e58 100644 --- a/packages/nc-gui/components/erd/TableNode.vue +++ b/packages/nc-gui/components/erd/TableNode.vue @@ -17,6 +17,8 @@ const { data } = toRefs(props) provide(MetaInj, data as Ref) +const { $e } = useNuxtApp() + const columns = computed(() => { // Hide hm ltar created for `mm` relations return data.value.columns?.filter((col) => !(col.uidt === UITypes.LinkToAnotherRecord && col.system === 1)) @@ -44,6 +46,7 @@ const relatedColumnId = (col: Record) =>
diff --git a/scripts/cypress/integration/common/9b_ERD.js b/scripts/cypress/integration/common/9b_ERD.js index 49839de703..2b6ef4aa27 100644 --- a/scripts/cypress/integration/common/9b_ERD.js +++ b/scripts/cypress/integration/common/9b_ERD.js @@ -6,11 +6,11 @@ export const genTest = (apiType, dbType) => { if (!isTestSuiteActive(apiType, dbType)) return; describe(`${apiType.toUpperCase()} ERD`, () => { - before(() => { - loginPage.loginAndOpenProject(apiType, dbType); - cy.openTableTab("Country", 25); - cy.saveLocalStorage(); - }); + // before(() => { + // loginPage.loginAndOpenProject(apiType, dbType); + // cy.openTableTab("Country", 25); + // cy.saveLocalStorage(); + // }); beforeEach(() => { cy.restoreLocalStorage();