@gingkoo/pandora-metabase 0.0.24 → 0.0.25
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 +8 -1
- 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.25
|
|
3
3
|
*/
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import * as React from 'react';
|
|
@@ -171,6 +171,7 @@ const getSubColumns = metaList => {
|
|
|
171
171
|
if (ExistAboveGroupBy) {
|
|
172
172
|
let _data = {
|
|
173
173
|
table: prevGroupBy.alias,
|
|
174
|
+
tableId: prevGroupBy.alias,
|
|
174
175
|
alias: prevGroupBy.alias,
|
|
175
176
|
columns: []
|
|
176
177
|
};
|
|
@@ -4470,6 +4471,11 @@ const SelectFilterColumn = ({
|
|
|
4470
4471
|
onClick: ({
|
|
4471
4472
|
key
|
|
4472
4473
|
}) => {
|
|
4474
|
+
setIsField(false);
|
|
4475
|
+
setCurColumn({
|
|
4476
|
+
...curColumn,
|
|
4477
|
+
table2: null
|
|
4478
|
+
});
|
|
4473
4479
|
setDefaultVal(key);
|
|
4474
4480
|
}
|
|
4475
4481
|
},
|
|
@@ -6550,6 +6556,7 @@ const GroupBy = props => {
|
|
|
6550
6556
|
if (ExistAboveGroupBy) {
|
|
6551
6557
|
let _data = {
|
|
6552
6558
|
table: prevGroupBy.alias,
|
|
6559
|
+
tableId: prevGroupBy.alias,
|
|
6553
6560
|
alias: prevGroupBy.alias,
|
|
6554
6561
|
columns: []
|
|
6555
6562
|
};
|