mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-27 06:33:21 -05:00
[web] Avoid the loading progress bar being shown when navigating on the same page
This commit is contained in:
parent
7f38c4fa87
commit
a3942aad81
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user