diff --git a/assets/javascripts/discourse/routes/user-activity-solved.js b/assets/javascripts/discourse/routes/user-activity-solved.js index d30ebd0..fa4a674 100644 --- a/assets/javascripts/discourse/routes/user-activity-solved.js +++ b/assets/javascripts/discourse/routes/user-activity-solved.js @@ -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 }; - }, -}); + } +}