mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-13 07:53:23 -05:00
[web] Fix a bug preventing to index buttons to work in the genre pages
This commit is contained in:
parent
b59a1b9407
commit
601962c8d8
@ -5,7 +5,7 @@
|
||||
v-for="index in indices"
|
||||
:key="index"
|
||||
class="button is-small"
|
||||
:to="'#index_' + index"
|
||||
:to="{ hash: `#index_${index}`, query: $route.query }"
|
||||
>{{ index }}</router-link
|
||||
>
|
||||
</nav>
|
||||
|
@ -53,7 +53,7 @@ export default {
|
||||
return this.options_visible ? 'chevron-up' : 'chevron-down'
|
||||
},
|
||||
position() {
|
||||
return { hash: this.options_visible ? '#top' : '#app' }
|
||||
return { hash: this.options_visible ? '#top' : '#app', query: this.$route.query }
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
Loading…
Reference in New Issue
Block a user