Minor fixes for new version of the library

This commit is contained in:
RemixDev
2020-08-16 12:29:08 +02:00
parent 5f2488846b
commit 6c72c1fb2f
4 changed files with 9 additions and 5 deletions

View File

@@ -115,7 +115,10 @@ export default {
this.addToQueue(initQueueList[item])
})
if (restored) toast(this.$t('toasts.queueRestored'), 'done', true, 'restoring_queue')
if (restored){
toast(this.$t('toasts.queueRestored'), 'done', true, 'restoring_queue')
socket.emit('queueRestored')
}
},
addToQueue(queueItem, current = false) {
this.queueList[queueItem.uuid] = queueItem
@@ -227,7 +230,6 @@ export default {
}
if (conversion) {
console.log(100-conversion)
$('#bar_' + uuid).css('width', (100-conversion) + '%')
}
}