Browse Source

fix: typo correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/8178/head
Pranav C 8 months ago
parent
commit
04330cb886
  1. 2
      packages/nocodb/src/models/Column.ts
  2. 4
      packages/nocodb/src/services/views.service.ts

2
packages/nocodb/src/models/Column.ts

@ -837,7 +837,7 @@ export default class Column<T = any> implements ColumnType {
CacheScope.GALLERY_VIEW_COLUMN,
];
for (let i; i < viewColumnTables.length; i++) {
for (let i = 0; i < viewColumnTables.length; i++) {
const table = viewColumnTables[i];
const cacheScope = viewColumnCacheScope[i];
const viewColumns = await ncMeta.metaList2(null, null, table, {

4
packages/nocodb/src/services/views.service.ts

@ -76,6 +76,10 @@ export class ViewsService {
}) {
const model = await Model.get(param.tableId);
if (!model) {
NcError.tableNotFound(param.tableId);
}
const viewList = await xcVisibilityMetaGet({
baseId: model.base_id,
models: [model],

Loading…
Cancel
Save