From 6d225a8243ce0fc8a0601fd40fb7a5dca250ee3d Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Tue, 23 May 2017 10:35:07 +0500 Subject: Revert distance as key for getFormatter --- web/app/AttributeFormatter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app') diff --git a/web/app/AttributeFormatter.js b/web/app/AttributeFormatter.js index ecab9fdb..83d310c3 100644 --- a/web/app/AttributeFormatter.js +++ b/web/app/AttributeFormatter.js @@ -96,7 +96,7 @@ Ext.define('Traccar.AttributeFormatter', { return this.speedFormatter; } else if (key === 'course') { return this.courseFormatter; - } else if (key === 'accuracy') { + } else if (key === 'distance' || key === 'accuracy') { return this.distanceFormatter; } else if (key === 'hours') { return this.hoursFormatter; -- cgit v1.2.3