fix: spotify user detected as logged in when only spotify id is saved, causing favorites rendering errors; chore: removed logs

This commit is contained in:
Roberto Tonino
2021-06-02 16:25:55 +02:00
parent 58642b6d48
commit 923f5355ed
7 changed files with 15 additions and 23 deletions

View File

@@ -220,14 +220,11 @@ export default {
queue: initQueueList,
restored
} = data
console.log({ initQueueList })
const initQueueComplete = Object.values(initQueueList)
.filter(el => ['completed', 'withErrors', 'failed'].includes(el.status))
.map(el => el.uuid)
console.log({ initQueueComplete })
if (initQueueComplete && initQueueComplete.length) {
initQueueComplete.forEach(item => {
initQueueList[item].silent = true