@gingkoo/pandora-metabase 1.0.0-alpha.15 → 1.0.0-alpha.16
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 v1.0.0-alpha.
|
|
2
|
+
* @gingkoo/pandora-metabase v1.0.0-alpha.16
|
|
3
3
|
*/
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1158,7 +1158,7 @@ const useStore = () => {
|
|
|
1158
1158
|
fieldUuid: newMeta.table2.fieldUuid || newMeta.table2.column_id,
|
|
1159
1159
|
quotes: newMeta.table2.quotes || newMeta.table2.column
|
|
1160
1160
|
};
|
|
1161
|
-
newMeta.expressions = newMeta.expressions
|
|
1161
|
+
newMeta.expressions = newMeta.expressions?.map(v => {
|
|
1162
1162
|
return {
|
|
1163
1163
|
...v,
|
|
1164
1164
|
left_fieldAlias: v.fieldAlias || v.left_column,
|
|
@@ -5645,7 +5645,7 @@ function setQuotes(_meta) {
|
|
|
5645
5645
|
fieldUuid: newMeta.table2.fieldUuid || newMeta.table2.column_id,
|
|
5646
5646
|
quotes: newMeta.table2.quotes || newMeta.table2.column
|
|
5647
5647
|
};
|
|
5648
|
-
newMeta.expressions = newMeta.expressions
|
|
5648
|
+
newMeta.expressions = newMeta.expressions?.map(v => {
|
|
5649
5649
|
return {
|
|
5650
5650
|
...v,
|
|
5651
5651
|
left_fieldAlias: v.fieldAlias || v.left_column,
|