Password
This commit is contained in:
@@ -6,7 +6,7 @@ async function populateuserData() {
|
||||
|
||||
for (const [attribute, value] of Object.entries(user)) {
|
||||
document.querySelectorAll(`.user-${attribute}`).forEach(element => {
|
||||
if (attribute === "FirstName" && value === "") {
|
||||
if (attribute === "FirstName" && !value) {
|
||||
var text = element.textContent;
|
||||
element.textContent = text.replace("%", user.Username);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user