From d5724bdfccfeb8dc771e638c6034712c4e748174 Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Wed, 14 Jul 2021 17:46:30 +0200 Subject: [PATCH] [bug] fix /sources auto scrolling --- routes/sources.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/routes/sources.vue b/routes/sources.vue index e58bea65b..352fc3c90 100644 --- a/routes/sources.vue +++ b/routes/sources.vue @@ -160,7 +160,9 @@ mounted() { this.handleHash('', filter => { this.filter = filter; - this.$refs.filter.scrollIntoView(); + if (filter) { + this.$refs.filter.scrollIntoView(); + } }); }, head() {