DEV: Remove old backward-compatibility code

This commit is contained in:
romanrizzi 2019-10-09 15:21:00 -03:00
parent e96e67bfbb
commit a6df22bb32
1 changed files with 1 additions and 6 deletions

View File

@ -1,5 +1,4 @@
import UserTopicListRoute from "discourse/routes/user-topic-list";
import { ListItemDefaults } from "discourse/components/topic-list-item";
export default UserTopicListRoute.extend({
userActionType: 16,
@ -22,12 +21,8 @@ export default UserTopicListRoute.extend({
},
renderTemplate() {
// TODO: This has to be removed when 2.3 becomes the new stable version.
const template = ListItemDefaults
? "user-assigned-topics"
: "user-topics-list";
this.render("user-activity-assigned");
this.render(template, { into: "user-activity-assigned" });
this.render("user-assigned-topics", { into: "user-activity-assigned" });
},
setupController(controller, model) {