mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 16:39:17 +02:00
Merge branch '150-player-queue-tab' into 'develop'
Resolve "Include player buttons on the queue tab" Closes #150 See merge request funkwhale/funkwhale!160
This commit is contained in:
commit
9124c7a9bf
3 changed files with 14 additions and 5 deletions
|
@ -173,11 +173,21 @@ export default {
|
|||
...mapActions({
|
||||
togglePlay: 'player/togglePlay',
|
||||
clean: 'queue/clean',
|
||||
next: 'queue/next',
|
||||
previous: 'queue/previous',
|
||||
shuffle: 'queue/shuffle',
|
||||
updateProgress: 'player/updateProgress'
|
||||
}),
|
||||
next () {
|
||||
let self = this
|
||||
this.$store.dispatch('queue/next').then(() => {
|
||||
self.$emit('next')
|
||||
})
|
||||
},
|
||||
previous () {
|
||||
let self = this
|
||||
this.$store.dispatch('queue/previous').then(() => {
|
||||
self.$emit('previous')
|
||||
})
|
||||
},
|
||||
touchProgress (e) {
|
||||
let time
|
||||
let target = this.$refs.progress
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue