dont show empty groups on info page
This commit is contained in:
parent
fcf1b706da
commit
76229574bc
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ pandora.ui.infoView = function(data) {
|
|||
// User and Groups ---------------------------------------------------------
|
||||
|
||||
['user', 'groups'].forEach(function(key) {
|
||||
(canEdit || data[key]) && $('<div>')
|
||||
(canEdit || data[key] && data[key].length) && $('<div>')
|
||||
.css({marginBottom: '4px'})
|
||||
.append(formatKey(key, true))
|
||||
.append(
|
||||
|
|
Loading…
Reference in a new issue