[web-src] Keep the search text when switching to/from Spotify search

This commit is contained in:
chme 2020-10-18 07:39:29 +02:00
parent 758ae1f31a
commit d4a5286268
2 changed files with 2 additions and 0 deletions

View File

@ -250,6 +250,7 @@ export default {
return
}
this.search_query = route.query.query
this.searchMusic(route.query)
this.searchAudiobooks(route.query)
this.searchPodcasts(route.query)

View File

@ -265,6 +265,7 @@ export default {
return
}
this.search_query = this.query.query
this.search_param.limit = this.query.limit ? this.query.limit : 50
this.search_param.offset = this.query.offset ? this.query.offset : 0