hide undefined in delete-group.js

This commit is contained in:
zefie
2025-08-14 22:21:32 -04:00
parent 0ac6da7453
commit b8dcf623e3

View File

@@ -40,7 +40,7 @@ if (request_headers.query.group) {
data += "<li>No groups found.</li>";
} else {
Object.entries(client_group_data).forEach(([group, _]) => {
if (group.includes("-UPDATE")) return;
if (group.includes("-UPDATE") || group === "undefined") return;
const path = client_group_data[group].path;
let state = client_group_data[group].state;
if (state === "invalid") {