@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
- var newColumns = [];
333
- var items = (0, _utils.getSubColumns)(v.subquery);
334
- newColumns = items.flatMap(function (item) {
335
- return item.columns;
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
- var newColumns = [];
326
- var items = getSubColumns(v.subquery);
327
- newColumns = items.flatMap(function (item) {
328
- return item.columns;
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gingkoo/pandora-metabase",
3
- "version": "1.0.47",
3
+ "version": "1.0.48",
4
4
  "description": "",
5
5
  "main": "lib/es/index.js",
6
6
  "module": "lib/es/index.js",