aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/CommandController.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-09-05 10:18:37 +0500
committerAbyss777 <abyss@fox5.ru>2017-09-05 10:27:37 +0500
commitb86c09cd3266b2bac9a7a8dbf848ed14fff1e6d7 (patch)
tree3bf48b94da2ceb2a2fdc9aada452441fbd5d305d /web/app/view/dialog/CommandController.js
parenta9c3d0532db72a635f373f2dce5bc5365aed16dc (diff)
downloadtrackermap-web-b86c09cd3266b2bac9a7a8dbf848ed14fff1e6d7.tar.gz
trackermap-web-b86c09cd3266b2bac9a7a8dbf848ed14fff1e6d7.tar.bz2
trackermap-web-b86c09cd3266b2bac9a7a8dbf848ed14fff1e6d7.zip
Remove unnecessary check
Diffstat (limited to 'web/app/view/dialog/CommandController.js')
-rw-r--r--web/app/view/dialog/CommandController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/dialog/CommandController.js b/web/app/view/dialog/CommandController.js
index fc233f30..0687f670 100644
--- a/web/app/view/dialog/CommandController.js
+++ b/web/app/view/dialog/CommandController.js
@@ -52,7 +52,7 @@ Ext.define('Traccar.view.dialog.CommandController', {
config.uncheckedValue = false;
break;
default:
- if (parameter.get('dataType') && parameter.get('dataType') === 'timezone') {
+ if (parameter.get('dataType') === 'timezone') {
config.xtype = 'combobox';
config.queryMode = 'local';
config.displayField = 'key';