[web] Use named route for music albums

Switching to named routes in order to reduce future maintenance.
This commit is contained in:
Alain Nussbaumer
2023-07-10 20:43:10 +02:00
parent 60374c2f47
commit d0fbd68523
7 changed files with 30 additions and 22 deletions

View File

@@ -55,8 +55,8 @@ import webapi from '@/webapi'
const dataObject = {
load(to) {
return Promise.all([
webapi.library_album(to.params.album_id),
webapi.library_album_tracks(to.params.album_id)
webapi.library_album(to.params.id),
webapi.library_album_tracks(to.params.id)
])
},