@gingkoo/pandora-metabase 1.0.47 → 1.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -329,12 +329,10 @@ var useStore = function useStore() {
|
|
|
329
329
|
fetchColumns(newMeta[i].table, newMeta[i].table.datasourceId, v.columns, function () {
|
|
330
330
|
var columns = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
331
331
|
if (v.isSubquery) {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
newColumns = items.flatMap(
|
|
335
|
-
|
|
336
|
-
});
|
|
337
|
-
newMeta[i].columns = newColumns || [];
|
|
332
|
+
// let newColumns: any = [];
|
|
333
|
+
// const items = getSubColumns(v.subquery);
|
|
334
|
+
// newColumns = items.flatMap((item) => item.columns);
|
|
335
|
+
// (newMeta[i] as MetaJoin).columns = columns || [];
|
|
338
336
|
} else {
|
|
339
337
|
newMeta[i].columns = columns || [];
|
|
340
338
|
}
|
|
@@ -322,12 +322,10 @@ var useStore = function useStore() {
|
|
|
322
322
|
fetchColumns(newMeta[i].table, newMeta[i].table.datasourceId, v.columns, function () {
|
|
323
323
|
var columns = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
324
324
|
if (v.isSubquery) {
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
newColumns = items.flatMap(
|
|
328
|
-
|
|
329
|
-
});
|
|
330
|
-
newMeta[i].columns = newColumns || [];
|
|
325
|
+
// let newColumns: any = [];
|
|
326
|
+
// const items = getSubColumns(v.subquery);
|
|
327
|
+
// newColumns = items.flatMap((item) => item.columns);
|
|
328
|
+
// (newMeta[i] as MetaJoin).columns = columns || [];
|
|
331
329
|
} else {
|
|
332
330
|
newMeta[i].columns = columns || [];
|
|
333
331
|
}
|