Browse Source

refactor(nocodb): lint

pull/5430/head
Wing-Kam Wong 2 years ago
parent
commit
b7387731ac
  1. 4
      packages/nocodb/src/lib/models/Model.ts

4
packages/nocodb/src/lib/models/Model.ts

@ -160,9 +160,7 @@ export default class Model implements TableType {
}, },
ncMeta = Noco.ncMeta ncMeta = Noco.ncMeta
): Promise<Model[]> { ): Promise<Model[]> {
const cachedList = await NocoCache.getList(CacheScope.MODEL, [ const cachedList = await NocoCache.getList(CacheScope.MODEL, [project_id]);
project_id,
]);
let { list: modelList } = cachedList; let { list: modelList } = cachedList;
if (!modelList.length) { if (!modelList.length) {

Loading…
Cancel
Save