Skip to content

Commit

Permalink
Cleanup code formatting
Browse files Browse the repository at this point in the history
Formatting, var naming,  and other stylistic changes only; no functional changes.
  • Loading branch information
smg6511 committed Aug 20, 2024
1 parent 4227559 commit 7e12a9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ MODx.grid.UserGroupCategory = function UserGroupCategory(config = {}) {
emptyText: _('filter_by_category'),
width: 200,
allowBlank: true,
displayField: 'category',
value: MODx.request.category || null,
baseParams: {
action: 'Element/Category/GetList',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,14 @@ MODx.grid.UserGroupContext = function UserGroupContext(config = {}) {
})
}, {
header: _('minimum_role'),
dataIndex: 'authority_name',
dataIndex: 'role_display',
width: 100,
sortable: true,
xtype: 'templatecolumn',
tpl: this.getLinkTemplate('security/permission', 'authority_name')
tpl: this.getLinkTemplate('security/permission', 'role_display')
}, {
header: _('policy'),
dataIndex: 'policy_name',
width: 200,
sortable: true,
xtype: 'templatecolumn',
tpl: this.getLinkTemplate('security/access/policy/update', 'policy_name', {
Expand Down

0 comments on commit 7e12a9f

Please sign in to comment.