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"
|
v-for="index in indices"
|
||||||
:key="index"
|
:key="index"
|
||||||
class="button is-small"
|
class="button is-small"
|
||||||
:to="'#index_' + index"
|
:to="{ hash: `#index_${index}`, query: $route.query }"
|
||||||
>{{ index }}</router-link
|
>{{ index }}</router-link
|
||||||
>
|
>
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -53,7 +53,7 @@ export default {
|
|||||||
return this.options_visible ? 'chevron-up' : 'chevron-down'
|
return this.options_visible ? 'chevron-up' : 'chevron-down'
|
||||||
},
|
},
|
||||||
position() {
|
position() {
|
||||||
return { hash: this.options_visible ? '#top' : '#app' }
|
return { hash: this.options_visible ? '#top' : '#app', query: this.$route.query }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
Loading…
Reference in New Issue
Block a user