group.hidden is already bool

v1.18.x
Barış Soner Uşaklı 10 years ago
parent 8cb18b1e48
commit e8644dac26

@ -936,7 +936,7 @@ var async = require('async'),
} }
groupData = groupData.filter(function(group) { groupData = groupData.filter(function(group) {
return group && parseInt(group.hidden, 10) !== 1; return group && !group.hidden;
}); });
var groupSets = groupData.map(function(group) { var groupSets = groupData.map(function(group) {

Loading…
Cancel
Save