From a3942aad81a8423b7923aaa290404e7900f41201 Mon Sep 17 00:00:00 2001 From: Alain Nussbaumer Date: Wed, 26 Jul 2023 06:45:46 +0200 Subject: [PATCH] [web] Avoid the loading progress bar being shown when navigating on the same page --- web-src/src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-src/src/App.vue b/web-src/src/App.vue index f25e96eb..0636fa10 100644 --- a/web-src/src/App.vue +++ b/web-src/src/App.vue @@ -96,7 +96,7 @@ export default { // Hook the progress bar to start before we move router-view this.$router.beforeEach((to, from, next) => { - if (to.meta.show_progress) { + if (to.meta.show_progress && !(to.path === from.path && to.hash)) { if (to.meta.progress !== undefined) { const meta = to.meta.progress this.$Progress.parseMeta(meta)