DEV: Convert to native class syntax (#320)
This commit is contained in:
parent
4fdf398d92
commit
f6d63b7299
|
@ -1,9 +1,9 @@
|
||||||
import UserActivityStreamRoute from "discourse/routes/user-activity-stream";
|
import UserActivityStreamRoute from "discourse/routes/user-activity-stream";
|
||||||
import I18n from "I18n";
|
import I18n from "I18n";
|
||||||
|
|
||||||
export default UserActivityStreamRoute.extend({
|
export default class UserActivitySolved extends UserActivityStreamRoute {
|
||||||
userActionType: 15,
|
userActionType = 15;
|
||||||
noContentHelpKey: "solved.no_solutions",
|
noContentHelpKey = "solved.no_solutions";
|
||||||
|
|
||||||
emptyState() {
|
emptyState() {
|
||||||
const user = this.modelFor("user");
|
const user = this.modelFor("user");
|
||||||
|
@ -20,5 +20,5 @@ export default UserActivityStreamRoute.extend({
|
||||||
}
|
}
|
||||||
|
|
||||||
return { title, body };
|
return { title, body };
|
||||||
},
|
}
|
||||||
});
|
}
|
||||||
|
|
Loading…
Reference in New Issue