Fix Prettier

This commit is contained in:
Penar Musaraj 2019-10-28 21:34:08 -04:00
parent 960c126cc9
commit e8e32e27e0
3 changed files with 2 additions and 10 deletions

View File

@ -12,13 +12,7 @@ export default Ember.Component.extend({
@computed("group", "query") @computed("group", "query")
link() { link() {
return ( return Discourse.BaseUrl + "/g/" + this.group + "/reports/" + this.query.id;
Discourse.BaseUrl +
"/g/" +
this.group +
"/reports/" +
this.query.id
);
}, },
_mouseDownHandler(event) { _mouseDownHandler(event) {

View File

@ -22,8 +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])
); );
}); });
return { model, schema, groups }; return { model, schema, groups };

View File

@ -419,4 +419,3 @@ table.group-reports {
z-index: 1; z-index: 1;
} }
} }