@gingkoo/pandora-metabase 1.0.101 → 1.0.102

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.
@@ -99,7 +99,7 @@ var SelectJoinColumn = function SelectJoinColumn(_ref) {
99
99
  }, [_value]);
100
100
  var isActive = function isActive(id_alias) {
101
101
  return (value === null || value === void 0 ? void 0 : value.filter(function (v) {
102
- return v.fieldId + v.fieldAlias === id_alias;
102
+ return v.fieldId + (v.fieldAlias || '') === id_alias;
103
103
  }).length) > 0;
104
104
  };
105
105
  (0, _react.useEffect)(function () {
@@ -94,7 +94,7 @@ var SelectJoinColumn = function SelectJoinColumn(_ref) {
94
94
  }, [_value]);
95
95
  var isActive = function isActive(id_alias) {
96
96
  return (value === null || value === void 0 ? void 0 : value.filter(function (v) {
97
- return v.fieldId + v.fieldAlias === id_alias;
97
+ return v.fieldId + (v.fieldAlias || '') === id_alias;
98
98
  }).length) > 0;
99
99
  };
100
100
  useEffect(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gingkoo/pandora-metabase",
3
- "version": "1.0.101",
3
+ "version": "1.0.102",
4
4
  "description": "",
5
5
  "main": "lib/es/index.js",
6
6
  "module": "lib/es/index.js",