@principal-ade/code-quality-panels 0.1.21 → 0.1.23

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.
@@ -455,9 +455,12 @@ const LENS_TO_METRIC_MAP = {
455
455
  alexandria: "documentation"
456
456
  };
457
457
  function isMetricConfigured(metricKey, lensesRan) {
458
- if (!lensesRan || lensesRan.length === 0) {
458
+ if (lensesRan === void 0) {
459
459
  return true;
460
460
  }
461
+ if (lensesRan.length === 0) {
462
+ return false;
463
+ }
461
464
  return lensesRan.some((lensId) => LENS_TO_METRIC_MAP[lensId] === metricKey);
462
465
  }
463
466
  const getMetricConfig = (themeColors) => [
@@ -1826,7 +1829,7 @@ const QualityHexagonPanelContent = ({
1826
1829
  const packages = React2__default.useMemo(() => {
1827
1830
  var _a2;
1828
1831
  if ((_a2 = qualitySlice == null ? void 0 : qualitySlice.data) == null ? void 0 : _a2.packages) {
1829
- return qualitySlice.data.packages;
1832
+ return qualitySlice.data.packages.filter((pkg) => !pkg.isOrchestrator);
1830
1833
  }
1831
1834
  if (hasQualitySlice) {
1832
1835
  return [];