aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-06-20 17:06:01 +0500
committerAbyss777 <abyss@fox5.ru>2017-06-20 17:06:01 +0500
commitea432953c472876dc9d132b57a18f6e9f70d06bd (patch)
tree358413a441655abbb9cfc55f5a158da143fdd6ee /web/app
parent58eba78776e0ba7f672711268d2c1aaa6d806a85 (diff)
downloadetbsa-traccar-web-ea432953c472876dc9d132b57a18f6e9f70d06bd.tar.gz
etbsa-traccar-web-ea432953c472876dc9d132b57a18f6e9f70d06bd.tar.bz2
etbsa-traccar-web-ea432953c472876dc9d132b57a18f6e9f70d06bd.zip
Format 'spentFuel' as volume
Diffstat (limited to 'web/app')
-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 0c38567..e63cf89 100644
--- a/web/app/AttributeFormatter.js
+++ b/web/app/AttributeFormatter.js
@@ -129,6 +129,8 @@ Ext.define('Traccar.AttributeFormatter', {
return this.groupIdFormatter;
} else if (key === 'lastUpdate') {
return this.lastUpdateFormatter;
+ } else if (key === 'spentFuel') {
+ return this.numberFormatterFactory(Traccar.Style.numberPrecision, Strings.sharedLiterAbbreviation);
} else {
return this.defaultFormatter;
}