mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-13 16:03:23 -05: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>
|
||||
<router-link
|
||||
v-slot="{ navigate, isActive }"
|
||||
to="/audiobooks/artists"
|
||||
:to="{ name: 'audiobooks-artists' }"
|
||||
custom
|
||||
>
|
||||
<li :class="{ 'is-active': isActive }">
|
||||
@ -23,7 +23,7 @@
|
||||
</router-link>
|
||||
<router-link
|
||||
v-slot="{ navigate, isActive }"
|
||||
to="/audiobooks/albums"
|
||||
:to="{ name: 'audiobooks-albums' }"
|
||||
custom
|
||||
>
|
||||
<li :class="{ 'is-active': isActive }">
|
||||
|
Loading…
Reference in New Issue
Block a user