@bluecopa/core 0.1.39 → 0.1.41
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/dist/index.es.js +3 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -677,13 +677,14 @@ const getParentTableVariableType = (childId, variables) => {
|
|
|
677
677
|
return parentTableVariable;
|
|
678
678
|
};
|
|
679
679
|
const findParentIsMetricSeries = (childId, variables) => {
|
|
680
|
-
var _a
|
|
680
|
+
var _a;
|
|
681
681
|
const parentTableVariable = getParentTableVariableType(childId, variables);
|
|
682
682
|
if (((_a = parentTableVariable == null ? void 0 : parentTableVariable.transforms[0]) == null ? void 0 : _a.type) === "MetricSeries") {
|
|
683
683
|
return true;
|
|
684
684
|
} else if (parentTableVariable == null ? void 0 : parentTableVariable.transforms[0]) {
|
|
685
|
+
const transform = parentTableVariable.transforms[0];
|
|
685
686
|
return findParentIsMetricSeries(
|
|
686
|
-
|
|
687
|
+
transform.table,
|
|
687
688
|
variables
|
|
688
689
|
);
|
|
689
690
|
}
|