fleetmap-reports 2.0.65 → 2.0.66

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": "2.0.65",
3
+ "version": "2.0.66",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -7,7 +7,7 @@
7
7
  <mj-text>
8
8
  <span style="font-size:18px;font-weight: bold">{{ translations.titleSpeedingReport }}</span>
9
9
  <br/>
10
- <span>{{ reportData.devices && reportData.devices.lenght }} {{ translations.vehicle }}s</span>
10
+ <span>{{ reportData.devices && reportData.devices.length }} {{ translations.vehicles }}</span>
11
11
  </mj-text>
12
12
  </mj-column>
13
13
  </mj-section>
package/src/util/utils.js CHANGED
@@ -318,7 +318,6 @@ exports.convertFromUTCDate = (value, user) => {
318
318
  return convertFromUTC(value, user.attributes.timezone || getUserPartner(user).timezone)
319
319
  }
320
320
 
321
-
322
321
  exports.getCountry = position => position && position.attributes.address && position.attributes.address.split(',').slice(-1)[0].trim()
323
322
 
324
323
  exports.processServerSide = (userData) => {