mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-20 02:37:26 -04:00
[web] Use named route for audiobook pages
Switching to named routes in order to reduce future maintenance.
This commit is contained in:
parent
fee215a25c
commit
d4c3d27688
@ -7,7 +7,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<router-link
|
<router-link
|
||||||
v-slot="{ navigate, isActive }"
|
v-slot="{ navigate, isActive }"
|
||||||
to="/audiobooks/artists"
|
:to="{ name: 'audiobooks-artists' }"
|
||||||
custom
|
custom
|
||||||
>
|
>
|
||||||
<li :class="{ 'is-active': isActive }">
|
<li :class="{ 'is-active': isActive }">
|
||||||
@ -23,7 +23,7 @@
|
|||||||
</router-link>
|
</router-link>
|
||||||
<router-link
|
<router-link
|
||||||
v-slot="{ navigate, isActive }"
|
v-slot="{ navigate, isActive }"
|
||||||
to="/audiobooks/albums"
|
:to="{ name: 'audiobooks-albums' }"
|
||||||
custom
|
custom
|
||||||
>
|
>
|
||||||
<li :class="{ 'is-active': isActive }">
|
<li :class="{ 'is-active': isActive }">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user