@gingkoo/pandora-metabase 0.0.18 → 0.0.19
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.
- package/lib/es/index.js +3 -3
- package/lib/es/index.js.map +1 -1
- package/package.json +1 -1
package/lib/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @gingkoo/pandora-metabase v0.0.
|
|
2
|
+
* @gingkoo/pandora-metabase v0.0.19
|
|
3
3
|
*/
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import * as React from 'react';
|
|
@@ -5346,7 +5346,7 @@ const JoinData = props => {
|
|
|
5346
5346
|
}
|
|
5347
5347
|
} else {
|
|
5348
5348
|
// @ts-ignore
|
|
5349
|
-
data = metaList.slice(
|
|
5349
|
+
data = metaList.slice().map(v => {
|
|
5350
5350
|
if (v.type === TypeEnum.data) {
|
|
5351
5351
|
return {
|
|
5352
5352
|
alias: v.table.alias,
|
|
@@ -5763,7 +5763,7 @@ const JoinData = props => {
|
|
|
5763
5763
|
const newColumns = items.flatMap(item => item.columns);
|
|
5764
5764
|
newMeta[index].columns = newColumns;
|
|
5765
5765
|
newMeta[index].expressions = [];
|
|
5766
|
-
store.
|
|
5766
|
+
store.setMeta(newMeta);
|
|
5767
5767
|
o.close();
|
|
5768
5768
|
} catch (e) {
|
|
5769
5769
|
console.warn(e);
|