This commit is contained in:
Bruno Rybársky 2024-02-06 20:59:03 +01:00
parent ee3d2810c0
commit d9fbd61cdd

@ -25,8 +25,7 @@ async function handleResponse(data, successMessage, failureMessage) {
} }
async function showDashboardGreeting() { async function showDashboardGreeting() {
let FirstName = localStorage.getItem("FirstName"); document.getElementById("welcomeMsg").innerText = `Ahoj, ${UserInfo.FirstName}.`;
document.getElementById("welcomeMsg").innerText = `Ahoj, ${FirstName}.`;
} }
async function doAction(url, requestData, successMessage, failureMessage, silent = false) { async function doAction(url, requestData, successMessage, failureMessage, silent = false) {