mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
fix: hide overlay after init failure
This commit is contained in:
parent
a6a0edb110
commit
c6b66c0b5d
1 changed files with 2 additions and 1 deletions
|
@ -116,10 +116,11 @@ const init = async () => {
|
|||
})
|
||||
|
||||
await socketService.init() && socketListener.listen()
|
||||
overlay.value!.hide()
|
||||
} catch (err) {
|
||||
layout.value = 'auth'
|
||||
throw err
|
||||
} finally {
|
||||
overlay.value!.hide()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue