Skip to content
This repository has been archived by the owner on Nov 23, 2017. It is now read-only.

Commit

Permalink
fixed always displaying "new clients" group
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus Großmann committed Jul 16, 2015
1 parent 493741b commit 97d1b34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions master/public/js/model/group.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ function Group(group, poolClients) {
},
isUndefined: {
enumerable: true,
get: function(){
get: function () {
return this.id == 'undefined';
}
},
isAvailable: {
enumerable: true,
get: function(){
return this.isUndefined || !window.showSettings || clients.length > 0;
get: function () {
return (this.isUndefined && clients.length > 0) || !window.showSettings || clients.length > 0;
}
}
});
Expand Down

0 comments on commit 97d1b34

Please sign in to comment.