From ea432953c472876dc9d132b57a18f6e9f70d06bd Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Tue, 20 Jun 2017 17:06:01 +0500 Subject: Format 'spentFuel' as volume --- web/app/AttributeFormatter.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web') 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; } -- cgit v1.2.3