FIX: don't hide "public invisible" groups from groups on user page

This commit is contained in:
Sam 2015-04-16 10:44:55 +10:00
parent a5b25ad2af
commit 4919ec4c44

View file

@ -1,6 +1,6 @@
const AdminUser = Discourse.User.extend({
customGroups: Em.computed.filter("groups", (g) => !g.automatic && g.visible && Discourse.Group.create(g)),
customGroups: Em.computed.filter("groups", (g) => !g.automatic && Discourse.Group.create(g)),
automaticGroups: Em.computed.filter("groups", (g) => g.automatic && Discourse.Group.create(g)),
generateApiKey() {