@measurequick/measurequick-report-generator 1.5.145 → 1.5.146
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
|
@@ -277,6 +277,11 @@ export async function getReport(payload, _test) {
|
|
|
277
277
|
let iconPlacement = "Mid";
|
|
278
278
|
let icon = iconRangeRed;
|
|
279
279
|
let actual = +test.testInfo.data[targetKeys[i]];
|
|
280
|
+
if (targetKeys[i] === "pressure_manifold") {
|
|
281
|
+
actual = test.testInfo.data["pressure_manifold_after"]
|
|
282
|
+
? test.testInfo.data["pressure_manifold_after"]
|
|
283
|
+
: test.testInfo.data[targetKeys[i]];
|
|
284
|
+
}
|
|
280
285
|
let mid = +test.testInfo.targets[targetKeys[i]];
|
|
281
286
|
let low = +test.testInfo.targets[`${targetKeys[i]}_ideal_low`];
|
|
282
287
|
let high = +test.testInfo.targets[`${targetKeys[i]}_ideal_high`];
|
|
@@ -276,6 +276,11 @@ export async function getReport(payload, _test) {
|
|
|
276
276
|
let iconPlacement = "Mid";
|
|
277
277
|
let icon = iconRangeRed;
|
|
278
278
|
let actual = +test.testInfo.data[targetKeys[i]];
|
|
279
|
+
if (targetKeys[i] === "pressure_manifold") {
|
|
280
|
+
actual = test.testInfo.data["pressure_manifold_after"]
|
|
281
|
+
? test.testInfo.data["pressure_manifold_after"]
|
|
282
|
+
: test.testInfo.data[targetKeys[i]];
|
|
283
|
+
}
|
|
279
284
|
let mid = +test.testInfo.targets[targetKeys[i]];
|
|
280
285
|
let low = +test.testInfo.targets[`${targetKeys[i]}_ideal_low`];
|
|
281
286
|
let high = +test.testInfo.targets[`${targetKeys[i]}_ideal_high`];
|