DEV: Remove old backward-compatibility code
This commit is contained in:
parent
e96e67bfbb
commit
a6df22bb32
|
@ -1,5 +1,4 @@
|
||||||
import UserTopicListRoute from "discourse/routes/user-topic-list";
|
import UserTopicListRoute from "discourse/routes/user-topic-list";
|
||||||
import { ListItemDefaults } from "discourse/components/topic-list-item";
|
|
||||||
|
|
||||||
export default UserTopicListRoute.extend({
|
export default UserTopicListRoute.extend({
|
||||||
userActionType: 16,
|
userActionType: 16,
|
||||||
|
@ -22,12 +21,8 @@ export default UserTopicListRoute.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
renderTemplate() {
|
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("user-activity-assigned");
|
||||||
this.render(template, { into: "user-activity-assigned" });
|
this.render("user-assigned-topics", { into: "user-activity-assigned" });
|
||||||
},
|
},
|
||||||
|
|
||||||
setupController(controller, model) {
|
setupController(controller, model) {
|
||||||
|
|
Loading…
Reference in New Issue