fleetmap-reports 1.0.806 → 1.0.807

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetmap-reports",
3
- "version": "1.0.806",
3
+ "version": "1.0.807",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -308,7 +308,7 @@ function getTempValue (row) {
308
308
  }
309
309
 
310
310
  function getDigitalPort1Label (row, translations, dAttributes) {
311
- return (dAttributes && dAttributes.sensor1) || translations.report.digital_ports1
311
+ return (dAttributes && dAttributes.sensor1) || (row.attributes && row.attributes.sensor1) || translations.report.digital_ports1
312
312
  }
313
313
 
314
314
  function getDigitalPort2Label (row, translations) {