discourse/app/assets/javascripts/admin/routes/admin-dashboard.js.es6

10 lines
257 B
Plaintext
Raw Normal View History

2019-04-01 06:39:49 -04:00
import { scrollTop } from "discourse/mixins/scroll-top";
export default Discourse.Route.extend({
2019-04-01 06:39:49 -04:00
activate() {
this.controllerFor("admin-dashboard").fetchProblems();
this.controllerFor("admin-dashboard").fetchDashboard();
scrollTop();
}
});