kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
environments/review-front-deve-otr6gc/deployments/13401
rodzic
57692dcf6a
commit
7d8d1a414d
|
@ -52,11 +52,14 @@ const playTrack = async (track: Track, oldTrack?: Track) => {
|
|||
|
||||
currentSound.value = loadSound(track)
|
||||
|
||||
// TODO (wvffle): #1777
|
||||
if (playing.value) {
|
||||
currentSound.value.play()
|
||||
store.commit('player/isLoadingAudio', true)
|
||||
store.commit('player/errored', false)
|
||||
store.commit('player/playing', true)
|
||||
} else {
|
||||
store.commit('player/isLoadingAudio', false)
|
||||
}
|
||||
|
||||
store.commit('player/errored', false)
|
||||
store.dispatch('player/updateProgress', 0)
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue