@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 CHANGED
@@ -677,13 +677,14 @@ const getParentTableVariableType = (childId, variables) => {
677
677
  return parentTableVariable;
678
678
  };
679
679
  const findParentIsMetricSeries = (childId, variables) => {
680
- var _a, _b;
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
- (_b = parentTableVariable == null ? void 0 : parentTableVariable.transforms[0]) == null ? void 0 : _b.table,
687
+ transform.table,
687
688
  variables
688
689
  );
689
690
  }