Browse Source

fix: exclude other sources tables when fetching meta for ERD

pull/8747/head
Pranav C 5 months ago
parent
commit
a6cc5f3c99
  1. 2
      packages/nc-gui/components/erd/View.vue

2
packages/nc-gui/components/erd/View.vue

@ -48,7 +48,7 @@ const config = reactive<ERDConfig>({
const loadMetaOfTablesNotInMetas = async (localTables: TableType[]) => { const loadMetaOfTablesNotInMetas = async (localTables: TableType[]) => {
await Promise.all( await Promise.all(
localTables localTables
.filter((table) => !metas.value[table.id!]) .filter((table) => !metas.value[table.id!] && table.source_id === props.sourceId)
.map(async (table) => { .map(async (table) => {
await getMeta(table.id!) await getMeta(table.id!)
}), }),

Loading…
Cancel
Save