aboutsummaryrefslogtreecommitdiff
path: root/web/app/model/Command.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-09-14 09:38:14 +0500
committerAbyss777 <abyss@fox5.ru>2017-09-14 09:38:14 +0500
commitbe47d612285d484e2d0a2aa43174fb8e36acd816 (patch)
tree311da517ca347969c290b06285b4451fdfc6e98b /web/app/model/Command.js
parenta5d36c62facad98c409b9fcd4f8b92c3d47601ab (diff)
downloadtrackermap-web-be47d612285d484e2d0a2aa43174fb8e36acd816.tar.gz
trackermap-web-be47d612285d484e2d0a2aa43174fb8e36acd816.tar.bz2
trackermap-web-be47d612285d484e2d0a2aa43174fb8e36acd816.zip
Improve command type formatting
Diffstat (limited to 'web/app/model/Command.js')
-rw-r--r--web/app/model/Command.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/web/app/model/Command.js b/web/app/model/Command.js
index aa3dad14..f64d2a4b 100644
--- a/web/app/model/Command.js
+++ b/web/app/model/Command.js
@@ -32,14 +32,6 @@ Ext.define('Traccar.model.Command', {
name: 'type',
type: 'string'
}, {
- name: 'name',
- convert: function (v, rec) {
- var name = Strings['command' + rec.get('type').charAt(0).toUpperCase() + rec.get('type').slice(1)];
- return name ? name : rec.get('type');
- },
- depends: ['type'],
- persist: false
- }, {
name: 'textChannel',
type: 'boolean'
}, {