aboutsummaryrefslogtreecommitdiff
path: root/web/app/AttributeFormatter.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/AttributeFormatter.js')
-rw-r--r--web/app/AttributeFormatter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/AttributeFormatter.js b/web/app/AttributeFormatter.js
index e14a9539b..c32849101 100644
--- a/web/app/AttributeFormatter.js
+++ b/web/app/AttributeFormatter.js
@@ -37,7 +37,7 @@ Ext.define('Traccar.AttributeFormatter', {
alarmFormatter: function (attributes) {
var value = '';
if (attributes instanceof Object) {//for Traccar.view.Attributes
- if (attributes.hasOwnProperty('alarm')){
+ if (attributes.hasOwnProperty('alarm')) {
value = attributes.alarm;
if (typeof value === 'boolean') {
value = (value ? Ext.Msg.buttonText.yes : Ext.Msg.buttonText.no);