aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/edit/Maintenances.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/edit/Maintenances.js')
-rw-r--r--web/app/view/edit/Maintenances.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/edit/Maintenances.js b/web/app/view/edit/Maintenances.js
index f7b47620..da129154 100644
--- a/web/app/view/edit/Maintenances.js
+++ b/web/app/view/edit/Maintenances.js
@@ -56,7 +56,7 @@ Ext.define('Traccar.view.edit.Maintenances', {
},
renderer: function (value) {
var attribute = Ext.getStore('MaintenanceTypes').getById(value);
- return attribute && attribute.get('name') ? attribute.get('name') : value;
+ return attribute && attribute.get('name') || value;
}
}, {
text: Strings.maintenanceStart,