FIX: Allow admins to access data explorer if no groups list is present
This commit is contained in:
parent
e9e309e271
commit
b8c96afe83
|
@ -22,7 +22,7 @@ export default Discourse.Route.extend({
|
|||
query.markNotDirty();
|
||||
query.set(
|
||||
"group_names",
|
||||
query.group_ids
|
||||
(query.group_ids || [])
|
||||
.map(id => groupNames[id])
|
||||
.filter(n => n)
|
||||
.join(", ")
|
||||
|
|
Loading…
Reference in New Issue