aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/permissions/Devices.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-12-28 21:52:37 +1300
committerGitHub <noreply@github.com>2017-12-28 21:52:37 +1300
commit1a3ac155bb9185f0d97ca81e5fbb3c9c3b2a55a8 (patch)
tree3403fc98502d7a1778d0290b3a903aad6eab2dde /web/app/view/permissions/Devices.js
parent19768f9c88958207a20a81bdfe7ee630bf400973 (diff)
parent77a645466f0e3fae1c0125e8baadd5dea29d1935 (diff)
downloadtrackermap-web-1a3ac155bb9185f0d97ca81e5fbb3c9c3b2a55a8.tar.gz
trackermap-web-1a3ac155bb9185f0d97ca81e5fbb3c9c3b2a55a8.tar.bz2
trackermap-web-1a3ac155bb9185f0d97ca81e5fbb3c9c3b2a55a8.zip
Merge pull request #634 from Abyss777/disable_device
Implement disabling devices
Diffstat (limited to 'web/app/view/permissions/Devices.js')
-rw-r--r--web/app/view/permissions/Devices.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/app/view/permissions/Devices.js b/web/app/view/permissions/Devices.js
index d120eacb..3180b107 100644
--- a/web/app/view/permissions/Devices.js
+++ b/web/app/view/permissions/Devices.js
@@ -58,6 +58,14 @@ Ext.define('Traccar.view.permissions.Devices', {
hidden: true,
filter: 'string'
}, {
+ text: Strings.sharedDisabled,
+ dataIndex: 'disabled',
+ flex: 1,
+ minWidth: Traccar.Style.columnWidthNormal,
+ renderer: Traccar.AttributeFormatter.getFormatter('disabled'),
+ hidden: true,
+ filter: 'boolean'
+ }, {
text: Strings.groupDialog,
dataIndex: 'groupId',
flex: 1,