@measurequick/measurequick-report-generator 1.5.220 → 1.5.221
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/package.json
CHANGED
|
@@ -669,12 +669,11 @@ export async function getReport(payload, _test) {
|
|
|
669
669
|
|
|
670
670
|
// Special handling for Ambient CO
|
|
671
671
|
if (passFails[i] === "ambient_pass_fail") {
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
: null;
|
|
672
|
+
// Use coAmbRaw which is already defined and validated earlier in the function
|
|
673
|
+
const coValue = isFinite(coAmbRaw) ? coAmbRaw : null;
|
|
675
674
|
|
|
676
675
|
// Use CO-specific icon based on actual value
|
|
677
|
-
if (coValue !== null
|
|
676
|
+
if (coValue !== null) {
|
|
678
677
|
icon = getCOIcon(coValue);
|
|
679
678
|
const stateText = getCOStateText(coValue);
|
|
680
679
|
|