From 24b02cc656226b478fd0cb557b91df3326e2494a Mon Sep 17 00:00:00 2001 From: Tiago Vasconcelos Date: Tue, 12 Dec 2023 17:25:35 +0000 Subject: [PATCH] fix not showing account for existing users (#2173) --- lnbits/static/js/account.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lnbits/static/js/account.js b/lnbits/static/js/account.js index c26ffef8..1320fd3f 100644 --- a/lnbits/static/js/account.js +++ b/lnbits/static/js/account.js @@ -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) }