[web] Use named route for search pages

Switching to named routes in order to reduce future maintenance.
This commit is contained in:
Alain Nussbaumer
2023-07-12 22:39:21 +02:00
parent 845f111c29
commit 6f1f53007d
6 changed files with 19 additions and 18 deletions

View File

@@ -485,7 +485,7 @@ export default {
}
this.$router.push({
path: this.$store.state.search_path,
name: 'search-library',
query: {
type: 'track,artist,album,playlist,audiobook,podcast,composer',
query: this.search_query,