Revert "feat: grouped query builder with $upIf/$downIf condition groups"

This reverts commit 99b59070a2.
This commit is contained in:
M1
2026-03-16 13:53:27 +04:00
parent 99b59070a2
commit 5328471229
4 changed files with 3 additions and 168 deletions
+3 -3
View File
@@ -53,8 +53,8 @@
</div>
<div>
<label class="block text-sm text-gray-400 mb-1.5">Conditions <span class="text-gray-600">(optional)</span></label>
<p class="text-xs text-gray-600 mb-3">Define up/down conditions. <span class="text-red-400/70">Down if</span> takes priority over <span class="text-green-400/70">Up if</span>. Leave empty to use default (status &lt; 400).</p>
<label class="block text-sm text-gray-400 mb-1.5">Query Conditions <span class="text-gray-600">(optional)</span></label>
<p class="text-xs text-gray-600 mb-3">Define when this monitor should be considered "up". Defaults to status &lt; 400.</p>
<div id="query-builder"></div>
</div>
@@ -71,7 +71,7 @@
if (!requireAuth()) throw 'auth';
let currentQuery = null;
const qb = new GroupedQueryBuilder(document.getElementById('query-builder'), (q) => {
const qb = new QueryBuilder(document.getElementById('query-builder'), (q) => {
currentQuery = q;
});