Delegate queue migration
This commit is contained in:
parent
e4759d14c9
commit
ece2c468ca
|
|
@ -308,7 +308,6 @@ export const useQueue = createGlobalState(() => {
|
||||||
return store.dispatch('radios/stop')
|
return store.dispatch('radios/stop')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
|
||||||
|
|
||||||
// TODO: Remove at 1.5.0
|
// TODO: Remove at 1.5.0
|
||||||
// Migrate old queue format to the new one
|
// Migrate old queue format to the new one
|
||||||
|
|
@ -328,6 +327,7 @@ export const useQueue = createGlobalState(() => {
|
||||||
delete localStorage.player
|
delete localStorage.player
|
||||||
})().catch((error) => console.error('Could not successfully migrate between queue versions', error))
|
})().catch((error) => console.error('Could not successfully migrate between queue versions', error))
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
tracks,
|
tracks,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue