FIX: bug with navigation to the activity/topics and the activity/read pages (#14182)
This commit is contained in:
parent
09764291b1
commit
074bce77f0
|
@ -1,5 +1,6 @@
|
|||
import UserAction from "discourse/models/user-action";
|
||||
import UserTopicListRoute from "discourse/routes/user-topic-list";
|
||||
import { action } from "@ember/object";
|
||||
|
||||
export default UserTopicListRoute.extend({
|
||||
userActionType: UserAction.TYPES.topics,
|
||||
|
@ -9,4 +10,9 @@ export default UserTopicListRoute.extend({
|
|||
filter: "read",
|
||||
});
|
||||
},
|
||||
|
||||
@action
|
||||
refresh() {
|
||||
this.refresh();
|
||||
},
|
||||
});
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import UserAction from "discourse/models/user-action";
|
||||
import UserTopicListRoute from "discourse/routes/user-topic-list";
|
||||
import { action } from "@ember/object";
|
||||
|
||||
export default UserTopicListRoute.extend({
|
||||
userActionType: UserAction.TYPES.topics,
|
||||
|
@ -10,4 +11,9 @@ export default UserTopicListRoute.extend({
|
|||
"topics/created-by/" + this.modelFor("user").get("username_lower"),
|
||||
});
|
||||
},
|
||||
|
||||
@action
|
||||
refresh() {
|
||||
this.refresh();
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue