usersDialog: leave number of lists blank for guests and robots
This commit is contained in:
parent
6e1435734c
commit
ad1daf182c
1 changed files with 6 additions and 2 deletions
|
@ -173,7 +173,7 @@ pandora.ui.usersDialog = function() {
|
|||
},
|
||||
{
|
||||
align: 'center',
|
||||
format: function(value, data) {
|
||||
format: function(value) {
|
||||
return Ox.Theme.formatColorLevel(
|
||||
userLevels.indexOf(Ox.toTitleCase(value)),
|
||||
userLevels,
|
||||
|
@ -311,8 +311,12 @@ pandora.ui.usersDialog = function() {
|
|||
width: 150
|
||||
},
|
||||
{
|
||||
id: 'numberoflists',
|
||||
align: 'right',
|
||||
format: function(value, data) {
|
||||
return ['guest', 'robot'].indexOf(data.level) > -1
|
||||
? '' : value;
|
||||
},
|
||||
id: 'numberoflists',
|
||||
operator: '-',
|
||||
title: 'Lists',
|
||||
visible: true,
|
||||
|
|
Loading…
Reference in a new issue