mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-11 06:20:17 -05:00
[web] Prepare for the switch to Pinia
This commit is contained in:
@@ -256,7 +256,6 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import * as types from '@/store/mutation_types'
|
||||
import ContentText from '@/templates/ContentText.vue'
|
||||
import ContentWithHeading from '@/templates/ContentWithHeading.vue'
|
||||
import { GroupByList } from '@/lib/GroupByList'
|
||||
@@ -372,7 +371,7 @@ export default {
|
||||
this.searchMusic(route.query)
|
||||
this.searchAudiobooks(route.query)
|
||||
this.searchPodcasts(route.query)
|
||||
this.$store.commit(types.ADD_RECENT_SEARCH, route.query.query)
|
||||
this.$store.dispatch('add_recent_search', route.query.query)
|
||||
},
|
||||
|
||||
searchMusic(query) {
|
||||
|
||||
@@ -296,7 +296,6 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import * as types from '@/store/mutation_types'
|
||||
import ContentText from '@/templates/ContentText.vue'
|
||||
import ContentWithHeading from '@/templates/ContentWithHeading.vue'
|
||||
import CoverArtwork from '@/components/CoverArtwork.vue'
|
||||
@@ -511,7 +510,7 @@ export default {
|
||||
this.search_query = this.query.query
|
||||
this.search_param.limit = this.query.limit ? this.query.limit : PAGE_SIZE
|
||||
this.search_param.offset = this.query.offset ? this.query.offset : 0
|
||||
this.$store.commit(types.ADD_RECENT_SEARCH, this.query.query)
|
||||
this.$store.dispatch('add_recent_search', this.query.query)
|
||||
this.search_all()
|
||||
},
|
||||
search_albums_next({ loaded }) {
|
||||
|
||||
Reference in New Issue
Block a user