diff --git a/packages/nocodb/src/lib/noco/common/handlers/xcMetaDiffSync.ts b/packages/nocodb/src/lib/noco/common/handlers/xcMetaDiffSync.ts index bcc5166061..3323793d10 100644 --- a/packages/nocodb/src/lib/noco/common/handlers/xcMetaDiffSync.ts +++ b/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); }