FIX: Allow admins to access data explorer if no groups list is present

This commit is contained in:
Robin Ward 2019-09-11 15:13:27 -04:00
parent e9e309e271
commit b8c96afe83
1 changed files with 1 additions and 1 deletions

View File

@ -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(", ")