ct.selectedIndex].dataset.groupidentifier
            });
            refreshGroupsTable();
            groupsSelect.value = "";
        }
    }

    function refreshGroupsTable() {        
        const groupsTable = document.getElementById("groupsTable");
        const tbody = groupsTable.getElementsByTagName("tbody")[0];
        tbody.innerHTML = "";

        if (assignedGroups.length == 0) {
            const row = tbody.insertRow();
            const cell1 = row.insertCell(0);
            const cell2 =