Fix Prettier
This commit is contained in:
parent
960c126cc9
commit
e8e32e27e0
|
@ -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) {
|
||||||
|
|
|
@ -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 };
|
||||||
|
|
|
@ -419,4 +419,3 @@ table.group-reports {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue