|
@@ -11,7 +11,6 @@ class TableService extends CrudService {
|
|
this.dirModel = this.ctx.model.Dir;
|
|
this.dirModel = this.ctx.model.Dir;
|
|
}
|
|
}
|
|
async query(query) {
|
|
async query(query) {
|
|
- console.log('line 11 in function:');
|
|
|
|
const project = _.get(query, 'project');
|
|
const project = _.get(query, 'project');
|
|
let dirs = [];
|
|
let dirs = [];
|
|
if (project) {
|
|
if (project) {
|
|
@@ -29,7 +28,6 @@ class TableService extends CrudService {
|
|
compareList(dirs, tables) {
|
|
compareList(dirs, tables) {
|
|
const result = [];
|
|
const result = [];
|
|
const noDirTables = tables.filter((f) => !f.dir);
|
|
const noDirTables = tables.filter((f) => !f.dir);
|
|
- const inDirTables = tables.filter((f) => f.dir);
|
|
|
|
const firstLevelDir = dirs.filter((f) => !f.super);
|
|
const firstLevelDir = dirs.filter((f) => !f.super);
|
|
const inDirDirs = dirs.filter((f) => f.super);
|
|
const inDirDirs = dirs.filter((f) => f.super);
|
|
let newDir = this.makeDir(firstLevelDir, inDirDirs);
|
|
let newDir = this.makeDir(firstLevelDir, inDirDirs);
|