aboutsummaryrefslogtreecommitdiff
path: root/web/app/AttributeFormatter.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-07-13 10:02:44 +0500
committerAbyss777 <abyss@fox5.ru>2017-07-13 12:55:55 +0500
commit4c5cfa14db69d4f7687c7187c81a36b959a0f415 (patch)
tree2fcddf4d1fc2a734534ca9e21e751a9ecd2eb7b5 /web/app/AttributeFormatter.js
parent805d50ac020dec042bfc94a1f17869372f7eff0e (diff)
downloadetbsa-traccar-web-4c5cfa14db69d4f7687c7187c81a36b959a0f415.tar.gz
etbsa-traccar-web-4c5cfa14db69d4f7687c7187c81a36b959a0f415.tar.bz2
etbsa-traccar-web-4c5cfa14db69d4f7687c7187c81a36b959a0f415.zip
Use driverUniqueId for trips
Diffstat (limited to 'web/app/AttributeFormatter.js')
-rw-r--r--web/app/AttributeFormatter.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/app/AttributeFormatter.js b/web/app/AttributeFormatter.js
index 464314a..3e6758a 100644
--- a/web/app/AttributeFormatter.js
+++ b/web/app/AttributeFormatter.js
@@ -143,6 +143,8 @@ Ext.define('Traccar.AttributeFormatter', {
return this.lastUpdateFormatter;
} else if (key === 'spentFuel') {
return this.numberFormatterFactory(Traccar.Style.numberPrecision, Strings.sharedLiterAbbreviation);
+ } else if (key === 'driverUniqueId') {
+ return this.driverUniqueIdFormatter;
} else {
return this.defaultFormatter;
}