fix: Scroll to top when route changes
This commit is contained in:
parent
6df06cac97
commit
b26381e6b8
@ -48,6 +48,7 @@ export default {
|
||||
mounted() {
|
||||
frappe.route.on('change', () => {
|
||||
this.set_current_page();
|
||||
frappe.utils.scroll_to(0);
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
|
Loading…
Reference in New Issue
Block a user