[bug] fix /sources auto scrolling

This commit is contained in:
Andrea Vos 2021-07-14 17:46:30 +02:00
parent 628382ebe6
commit d5724bdfcc

View File

@ -160,7 +160,9 @@
mounted() { mounted() {
this.handleHash('', filter => { this.handleHash('', filter => {
this.filter = filter; this.filter = filter;
this.$refs.filter.scrollIntoView(); if (filter) {
this.$refs.filter.scrollIntoView();
}
}); });
}, },
head() { head() {