@gingkoo/pandora-metabase 1.0.30 → 1.0.31
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.
|
@@ -923,6 +923,10 @@ var JoinData = function JoinData(props) {
|
|
|
923
923
|
var items = (0, _utils.getSubColumns)(newList);
|
|
924
924
|
var newColumns = items.flatMap(function (item) {
|
|
925
925
|
return item.columns;
|
|
926
|
+
}).map(function (v) {
|
|
927
|
+
return (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, v), {}, {
|
|
928
|
+
select: false
|
|
929
|
+
});
|
|
926
930
|
});
|
|
927
931
|
newMeta[index].columns = newColumns.map(function (newCol) {
|
|
928
932
|
// 查找旧列中是否有相同 name 的列
|
|
@@ -157,6 +157,10 @@ var TableData = function TableData(props) {
|
|
|
157
157
|
var items = (0, _utils.getSubColumns)(newList);
|
|
158
158
|
var newColumns = items.flatMap(function (item) {
|
|
159
159
|
return item.columns;
|
|
160
|
+
}).map(function (v) {
|
|
161
|
+
return (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, v), {}, {
|
|
162
|
+
select: false
|
|
163
|
+
});
|
|
160
164
|
});
|
|
161
165
|
// newMetaList.columns = newColumns;
|
|
162
166
|
newMetaList.columns = newColumns.map(function (newCol) {
|
|
@@ -917,6 +917,10 @@ var JoinData = function JoinData(props) {
|
|
|
917
917
|
var items = getSubColumns(newList);
|
|
918
918
|
var newColumns = items.flatMap(function (item) {
|
|
919
919
|
return item.columns;
|
|
920
|
+
}).map(function (v) {
|
|
921
|
+
return _objectSpread(_objectSpread({}, v), {}, {
|
|
922
|
+
select: false
|
|
923
|
+
});
|
|
920
924
|
});
|
|
921
925
|
newMeta[index].columns = newColumns.map(function (newCol) {
|
|
922
926
|
// 查找旧列中是否有相同 name 的列
|
|
@@ -150,6 +150,10 @@ var TableData = function TableData(props) {
|
|
|
150
150
|
var items = getSubColumns(newList);
|
|
151
151
|
var newColumns = items.flatMap(function (item) {
|
|
152
152
|
return item.columns;
|
|
153
|
+
}).map(function (v) {
|
|
154
|
+
return _objectSpread(_objectSpread({}, v), {}, {
|
|
155
|
+
select: false
|
|
156
|
+
});
|
|
153
157
|
});
|
|
154
158
|
// newMetaList.columns = newColumns;
|
|
155
159
|
newMetaList.columns = newColumns.map(function (newCol) {
|