UI: Don't show 'everyone' group for query access (#59)

* Query access for 'everyone' does not work, but trust level 0 does,
and it works the same
This commit is contained in:
Ricky Chon 2020-10-06 21:56:51 -04:00 committed by GitHub
parent 5f479db2e9
commit 80ffc4582f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@ export default Ember.Controller.extend({
@computed("groups") @computed("groups")
groupOptions(groups) { groupOptions(groups) {
return groups.map((g) => { return groups.filter(g => g.id !== 0).map(g => {
return { id: g.id, name: g.name }; return { id: g.id.toString(), name: g.name };
}); });
}, },