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.markNotDirty();
|
||||||
query.set(
|
query.set(
|
||||||
"group_names",
|
"group_names",
|
||||||
query.group_ids
|
(query.group_ids || [])
|
||||||
.map(id => groupNames[id])
|
.map(id => groupNames[id])
|
||||||
.filter(n => n)
|
.filter(n => n)
|
||||||
.join(", ")
|
.join(", ")
|
||||||
|
|
Loading…
Reference in New Issue