This commit is contained in:
Ross
2021-08-02 11:01:04 +01:00
parent 2c8cdf5fb5
commit 794bbe5df8
3 changed files with 25 additions and 3 deletions
+5 -1
View File
@@ -148,7 +148,7 @@ async function loadExamList(data) {
//Display user info if it exists
if (data.hasOwnProperty("user") && data.user) {
$("#user").append(data.user);
$("#user").append(`User: ${data.user}`);
}
@@ -191,6 +191,10 @@ async function loadExamList(data) {
c = " session-completed";
}
if (!exam.active) {
c = c + " inactive";
}
let list;
if (exam.type != undefined) {
if ($(`#packet-list .${exam.type}`).length) {