FIX: permissions for catalog

This commit is contained in:
Gabriel Rosa
2022-11-03 10:27:50 -03:00
parent aea6815de7
commit fb0c659cd1
4 changed files with 16 additions and 10 deletions
@@ -155,7 +155,7 @@ export class PipelinesController {
.then((res) => {
//{pipeline:{tables: {tables: [], input_id: ''}}}
let tables = JSON.parse(res.pipeline.config.tables);
if (tables?.tables) tables = tables?.tables;
if (tables?.tables) tables = tables.tables;
Object.assign(res.pipeline, {
transformations: res.pipeline.transformations
? JSON.parse(res.pipeline.transformations)