fleetmap-reports 1.0.367 → 1.0.368

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.367",
3
+ "version": "1.0.368",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -226,7 +226,7 @@ function exportSpeedingReportToExcel(userData, reportData) {
226
226
  data = data.concat(d.alerts.map(a => {
227
227
  return {
228
228
  name: d.device.name,
229
- eventType: a.type === 'alarm' ? translations.report['event_'+a.attributes.alarm] : translations.report['event'+a.type],
229
+ eventType: a.type === 'alarm' ? translations.report['event_'+a.attributes.alarm] : translations.report['event_'+a.type],
230
230
  fixTime: getAlertDate(userData.user, a),
231
231
  address: a.geofenceName || (a.position ? a.position.address : ''),
232
232
  info: getAlertInfo(userData.drivers, a)