hotfix for LEL measurement summary
This commit is contained in:
parent
7d8d0c1ec8
commit
dd2d24c357
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ export function dragerGasDongle(subtype: number = 0): ComponentTypeExtension {
|
||||||
excludedNodes?: number[]
|
excludedNodes?: number[]
|
||||||
): Summary[] => {
|
): Summary[] => {
|
||||||
//if it is O2 display percentage rather than ppm
|
//if it is O2 display percentage rather than ppm
|
||||||
if (subtype === quack.DragerGasDongleSubtype.DRAGER_GAS_DONGLE_SUBTYPE_O2) {
|
if (subtype === quack.DragerGasDongleSubtype.DRAGER_GAS_DONGLE_SUBTYPE_O2 || subtype === quack.DragerGasDongleSubtype.DRAGER_GAS_DONGLE_SUBTYPE_LEL) {
|
||||||
let summaries: Summary[] = [];
|
let summaries: Summary[] = [];
|
||||||
measurements.measurementsFor.forEach(measurement => {
|
measurements.measurementsFor.forEach(measurement => {
|
||||||
let describer = describeMeasurement(
|
let describer = describeMeasurement(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue