Browse Source

fix: sync both table and view in a single meta sync

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/1053/head
Pranav C 3 years ago
parent
commit
ee4c3cba0a
  1. 3
      packages/nocodb/src/lib/noco/common/handlers/xcMetaDiffSync.ts

3
packages/nocodb/src/lib/noco/common/handlers/xcMetaDiffSync.ts

@ -789,7 +789,8 @@ if (sIndex > -1) {
// invoke only if there is change in at least one table
if (populateParams.tableNames?.length) {
await this.xcTablesPopulate(populateParams);
} else if (populateViewsParams.tableNames?.length) {
}
if (populateViewsParams.tableNames?.length) {
await this.xcTablesPopulate(populateViewsParams);
}

Loading…
Cancel
Save