Minor change
This commit is contained in:
parent
eab02c9e7a
commit
f4596415b8
@ -10,7 +10,7 @@ sendHttpRequest("/api/auth/roles/list", "POST", null,
|
|||||||
|
|
||||||
ls.data.forEach(data => {
|
ls.data.forEach(data => {
|
||||||
const postElement = document.createElement("div");
|
const postElement = document.createElement("div");
|
||||||
postElement.innerHTML = `<li>[${data.id}] ${data.name} - Total user(s): ${data.count}</li>`;
|
postElement.innerHTML = `<li>[${data.id}] ${data.name}: ${data.count} User(s)</li>`;
|
||||||
lister.appendChild(postElement);
|
lister.appendChild(postElement);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user