feat(statuspage): add nested status page groups and optional component details
ci / image (pull_request) Successful in 4m23s
ci / lint (pull_request) Canceled after 6m9s
ci / test (pull_request) Canceled after 6m8s
ci / build (pull_request) Canceled after 6m7s

This commit is contained in:
Sebastian Unterschütz committed 2026-11-22 20:07:30 +01:00
1 parent 1c31003baf
commit 9b26b4150e
26 files changed
+4566 -760

No files matched your search

+4 -1
View File
@@ -73,7 +73,9 @@
.map((row) => {
const obj = {};
for (const f of row.querySelectorAll("[data-field]")) {
if (f.dataset.field !== "include") obj[f.dataset.field] = f.value;
if (f.dataset.field !== "include") {
obj[f.dataset.field] = f.dataset.nullable !== undefined ? (f.value || null) : f.value;
}
}
return obj;
});
@@ -165,6 +167,7 @@
}
const post = ev.target.closest("[data-post]");
if (post) {
if (post.dataset.confirm && !confirm(post.dataset.confirm)) return;
post.disabled = true;
try {
await api.post(post.dataset.post);