Browse Source

fix: exclude other sources tables when fetching meta for ERD

pull/8747/head
Pranav C 2 weeks 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[]) => {
await Promise.all(
localTables
.filter((table) => !metas.value[table.id!])
.filter((table) => !metas.value[table.id!] && table.source_id === props.sourceId)
.map(async (table) => {
await getMeta(table.id!)
}),

Loading…
Cancel
Save