Implement group description.

This commit is contained in:
Juliusz Chroboczek
2020-09-24 22:03:41 +02:00
parent 7183730a68
commit 8399ee2c4a
3 changed files with 18 additions and 9 deletions
+5 -1
View File
@@ -44,8 +44,12 @@ async function listPublicGroups() {
td.appendChild(a);
tr.appendChild(td);
let td2 = document.createElement('td');
td2.textContent = `(${group.clientCount} clients)`;
if(group.description)
td2.textContent = group.description;
tr.appendChild(td2);
let td3 = document.createElement('td');
td3.textContent = `(${group.clientCount} clients)`;
tr.appendChild(td3);
table.appendChild(tr);
}
}