Minor change

This commit is contained in:
Dita Aji Pratama 2025-08-10 14:56:29 +07:00
parent eab02c9e7a
commit f4596415b8

View File

@ -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);
}); });
} }