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 I18n from "I18n";
|
||||
|
||||
export default UserActivityStreamRoute.extend({
|
||||
userActionType: 15,
|
||||
noContentHelpKey: "solved.no_solutions",
|
||||
export default class UserActivitySolved extends UserActivityStreamRoute {
|
||||
userActionType = 15;
|
||||
noContentHelpKey = "solved.no_solutions";
|
||||
|
||||
emptyState() {
|
||||
const user = this.modelFor("user");
|
||||
|
@ -20,5 +20,5 @@ export default UserActivityStreamRoute.extend({
|
|||
}
|
||||
|
||||
return { title, body };
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue