fix not showing account for existing users (#2173)

This commit is contained in:
Tiago Vasconcelos
2023-12-12 17:25:35 +00:00
committed by GitHub
parent 9877ca602f
commit 24b02cc656
+1
View File
@@ -73,6 +73,7 @@ new Vue({
const {data} = await LNbits.api.getAuthenticatedUser()
this.user = data
this.hasUsername = !!data.username
if (!this.user.config) this.user.config = {}
} catch (e) {
LNbits.utils.notifyApiError(e)
}