FIX: Double footer navigation
This commit is contained in:
parent
5055da76e6
commit
ea8e4bfbcf
|
@ -27,7 +27,7 @@ Discourse.ListCategoryRoute = Discourse.FilteredListRoute.extend({
|
||||||
filter = this.filter || "latest",
|
filter = this.filter || "latest",
|
||||||
url = "category/" + categorySlug + "/l/" + filter;
|
url = "category/" + categorySlug + "/l/" + filter;
|
||||||
|
|
||||||
listController.set('filterMode', url);
|
listController.setProperties({ filterMode: url, category: null });
|
||||||
listController.load(url).then(function(topicList) {
|
listController.load(url).then(function(topicList) {
|
||||||
listController.setProperties({
|
listController.setProperties({
|
||||||
canCreateTopic: topicList.get('can_create_topic'),
|
canCreateTopic: topicList.get('can_create_topic'),
|
||||||
|
|
Loading…
Reference in New Issue