20 lines
470 B
JavaScript
20 lines
470 B
JavaScript
import ObjectController from 'discourse/controllers/object';
|
|
|
|
// Lists of topics on a user's page.
|
|
export default ObjectController.extend(Discourse.HasCurrentUser, {
|
|
needs: ["application"],
|
|
hideCategory: false,
|
|
showParticipants: false,
|
|
|
|
_showFooter: function() {
|
|
this.set("controllers.application.showFooter", !this.get("canLoadMore"));
|
|
}.observes("canLoadMore"),
|
|
|
|
actions: {
|
|
loadMore: function() {
|
|
this.get('model').loadMore();
|
|
}
|
|
}
|
|
|
|
});
|