fleetmap-reports 1.0.558 → 1.0.560

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.558",
3
+ "version": "1.0.560",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -393,8 +393,8 @@ function exportLocationReportToExcel (userData, reportData) {
393
393
  ignition: a.attributes.ignition ? translations.report.ignitionOn : translations.report.ignitionOff,
394
394
  driver: userData.byDriver ? d.driver.name : getDriverName(a, userData.drivers),
395
395
  temperature: getTempValue(a),
396
- digitalport1: getDigitalPortValue(a, 1, translations),
397
- digitalport2: getDigitalPortValue(a, 2, translations),
396
+ digitalport1: getDigitalPortValue(a, 1, translations, d.device.attributes),
397
+ digitalport2: getDigitalPortValue(a, 2, translations, d.device.attributes),
398
398
  latitude: a.latitude,
399
399
  longitude: a.longitude
400
400
  }