fix: block autoupdate on any modal opened

This commit is contained in:
arcanis committed 2025-07-14 21:12:33 +03:00
1 parent 228c2cce51
commit 53368468a4
2 files changed
+6 -1

No files matched your search

@@ -68,6 +68,11 @@
.some(el => el.classList.contains("show"));
}
function hasActiveModal() {
return Array.from(document.querySelectorAll(".modal"))
.some(el => el.classList.contains("show"));
}
function headerClass(status) {
if (status === "pending") return ["bg-warning"];
if (status === "building") return ["bg-warning"];