fleetmap-reports 1.0.577 → 1.0.578
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 +1 -1
- package/src/location-report.js +1 -1
package/package.json
CHANGED
package/src/location-report.js
CHANGED
|
@@ -306,7 +306,7 @@ function getTempValue (row) {
|
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
function getDigitalPort1Label (row, translations, dAttributes) {
|
|
309
|
-
return dAttributes.sensor1 || translations.report.digital_ports1
|
|
309
|
+
return (dAttributes && dAttributes.sensor1) || translations.report.digital_ports1
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
function getDigitalPort2Label (row, translations) {
|