diff --git a/templates/dashboard.html b/templates/dashboard.html index be5642a..b5a1bf9 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -8,7 +8,7 @@ const result = await doAccountAction(data, null, null, true); if (result && result.Status === "Success") { - welcomeMsg.innerText = `Ahoj, ${UserInfo.FirstName}.`; + welcomeMsg.innerText = `Ahoj, ${result.UserInfo.FirstName}.`; } }