FIX: Show footer on the categories page (#16538)
I removed that code in #16519 but it's still needed to display the footer on `/categories`.
This commit is contained in:
parent
9ffc19ec60
commit
dba7a1d8ed
|
@ -9,6 +9,7 @@ import TopicList from "discourse/models/topic-list";
|
|||
import { ajax } from "discourse/lib/ajax";
|
||||
import { defaultHomepage } from "discourse/lib/utilities";
|
||||
import { hash } from "rsvp";
|
||||
import { next } from "@ember/runloop";
|
||||
import showModal from "discourse/lib/show-modal";
|
||||
import getURL from "discourse-common/lib/get-url";
|
||||
import Session from "discourse/models/session";
|
||||
|
@ -152,6 +153,12 @@ const DiscoveryCategoriesRoute = DiscourseRoute.extend(OpenComposer, {
|
|||
this.openComposer(this.controllerFor("discovery/categories"));
|
||||
}
|
||||
},
|
||||
|
||||
@action
|
||||
didTransition() {
|
||||
next(() => this.controllerFor("application").set("showFooter", true));
|
||||
return true;
|
||||
},
|
||||
});
|
||||
|
||||
export default DiscoveryCategoriesRoute;
|
||||
|
|
Loading…
Reference in New Issue