fix: intermitten initialization on Home screen

This commit is contained in:
Phan An 2022-10-22 10:19:20 +02:00
parent dbc1c46e83
commit e67cd48855
No known key found for this signature in database
GPG key ID: A81E4477F0BB6FDC

View file

@ -75,10 +75,6 @@ let initialized = false
eventBus.on(['SONGS_DELETED', 'SONGS_UPDATED'], () => overviewStore.refresh())
const initialize = async () => {
if (libraryEmpty.value) {
return
}
if (!initialized) {
loading.value = true
await overviewStore.init()