See #161: fixed weird extraction issues

This commit is contained in:
Eliot Berriot 2018-06-30 16:27:26 +02:00
parent 6afb0e5eb2
commit 96124aafd5
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
6 changed files with 32 additions and 15 deletions

View file

@ -180,12 +180,13 @@ export default {
return
}
let self = this
let msg = this.$gettext('Queue shuffled!')
this.isShuffling = true
setTimeout(() => {
self.$store.dispatch('queue/shuffle', () => {
self.isShuffling = false
self.$store.commit('ui/addMessage', {
content: self.$gettext('Queue shuffled!'),
content: msg,
date: new Date()
})
})