mirror of
https://github.com/discourse/discourse-data-explorer.git
synced 2025-02-07 12:08:14 +00:00
FIX: Permitted groups should display on group query access picker (#77)
The toString() that was introduced in 80ffc45 was preventing any actively permitted groups from displaying in the group picker when entering a query page.
This commit is contained in:
parent
d18634f19a
commit
f1785326a8
@ -70,7 +70,7 @@ export default Ember.Controller.extend({
|
||||
return groups
|
||||
.filter((g) => g.id !== 0)
|
||||
.map((g) => {
|
||||
return { id: g.id.toString(), name: g.name };
|
||||
return { id: g.id, name: g.name };
|
||||
});
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user