Fix Prettier
This commit is contained in:
@@ -12,13 +12,7 @@ export default Ember.Component.extend({
|
||||
|
||||
@computed("group", "query")
|
||||
link() {
|
||||
return (
|
||||
Discourse.BaseUrl +
|
||||
"/g/" +
|
||||
this.group +
|
||||
"/reports/" +
|
||||
this.query.id
|
||||
);
|
||||
return Discourse.BaseUrl + "/g/" + this.group + "/reports/" + this.query.id;
|
||||
},
|
||||
|
||||
_mouseDownHandler(event) {
|
||||
|
||||
@@ -22,8 +22,7 @@ export default Discourse.Route.extend({
|
||||
query.markNotDirty();
|
||||
query.set(
|
||||
"group_names",
|
||||
(query.group_ids || [])
|
||||
.map(id => groupNames[id])
|
||||
(query.group_ids || []).map(id => groupNames[id])
|
||||
);
|
||||
});
|
||||
return { model, schema, groups };
|
||||
|
||||
@@ -419,4 +419,3 @@ table.group-reports {
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user