aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/permissions/SavedCommands.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/permissions/SavedCommands.js')
-rw-r--r--web/app/view/permissions/SavedCommands.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/web/app/view/permissions/SavedCommands.js b/web/app/view/permissions/SavedCommands.js
index 1c7ab775..106fad52 100644
--- a/web/app/view/permissions/SavedCommands.js
+++ b/web/app/view/permissions/SavedCommands.js
@@ -35,15 +35,16 @@ Ext.define('Traccar.view.permissions.SavedCommands', {
filter: 'string'
}, {
text: Strings.sharedType,
- dataIndex: 'name',
+ dataIndex: 'type',
flex: 1,
minWidth: Traccar.Style.columnWidthNormal,
filter: {
type: 'list',
- idField: 'name',
+ idField: 'type',
labelField: 'name',
store: 'AllCommandTypes'
- }
+ },
+ renderer: Traccar.AttributeFormatter.getFormatter('commandType')
}, {
text: Strings.notificationSms,
dataIndex: 'textChannel',