mirror of
https://github.com/discourse/discourse-data-explorer.git
synced 2025-03-09 13:24:53 +00:00
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…
x
Reference in New Issue
Block a user