[web] Use named route for audiobook pages

Switching to named routes in order to reduce future maintenance.
This commit is contained in:
Alain Nussbaumer 2023-07-15 21:56:44 +02:00
parent fee215a25c
commit d4c3d27688

View File

@ -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 }">