aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/DeviceDistance.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/dialog/DeviceDistance.js')
-rw-r--r--web/app/view/dialog/DeviceDistance.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/app/view/dialog/DeviceDistance.js b/web/app/view/dialog/DeviceDistance.js
index 14a795ad..f908e45e 100644
--- a/web/app/view/dialog/DeviceDistance.js
+++ b/web/app/view/dialog/DeviceDistance.js
@@ -38,10 +38,10 @@ Ext.define('Traccar.view.dialog.DeviceDistance', {
change: 'onDeviceChange'
}
}, {
- xtype: 'numberfield',
+ xtype: 'customNumberField',
+ convert: 'distance',
reference: 'totalDistance',
- fieldLabel: Strings.deviceTotalDistance,
- value: 0
+ fieldLabel: Strings.deviceTotalDistance
}],
buttons: [{