mirror of
https://github.com/discourse/discourse.git
synced 2025-02-26 07:38:19 +00:00
FIX: scroll to top when accessing admin dashboard
This commit is contained in:
parent
eb9b99e519
commit
a603660ba5
@ -1,5 +1,8 @@
|
|||||||
|
import { scrollTop } from "discourse/mixins/scroll-top";
|
||||||
|
|
||||||
export default Discourse.Route.extend({
|
export default Discourse.Route.extend({
|
||||||
activate() {
|
activate() {
|
||||||
this.controllerFor("admin-dashboard-next").fetchDashboard();
|
this.controllerFor("admin-dashboard-next").fetchDashboard();
|
||||||
|
scrollTop();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user