Merge pull request #10150 from owncloud/fix-9782
Set group usercount to 0, not '', fixes #9782
This commit is contained in:
commit
5a833b3acd
|
@ -30,8 +30,10 @@ GroupList = {
|
|||
var $groupLiElement = $(groupLiElement);
|
||||
if (usercount === undefined || usercount === 0 || usercount < 0) {
|
||||
usercount = '';
|
||||
$groupLiElement.data('usercount', 0);
|
||||
} else {
|
||||
$groupLiElement.data('usercount', usercount);
|
||||
}
|
||||
$groupLiElement.data('usercount', usercount);
|
||||
$groupLiElement.find('.usercount').text(usercount);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue