diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index a7414ecc..b8b79324 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -103,19 +103,19 @@ -
+
-
+
-
+
@@ -1183,8 +1183,8 @@ message HealthCheckResponse { // Only groups, not itself, not a decendant result = result.filter( monitor => monitor.type === "group" && - monitor.id !== this.monitor.id && - !this.monitor.childrenIDs?.includes(monitor.id) + monitor.id !== this.monitor.id && + !this.monitor.childrenIDs?.includes(monitor.id) ); // Filter result by active state, weight and alphabetical @@ -1698,9 +1698,9 @@ message HealthCheckResponse { diff --git a/src/util.ts b/src/util.ts index 7d52cb65..b4a52f50 100644 --- a/src/util.ts +++ b/src/util.ts @@ -642,3 +642,4 @@ export function intHash(str : string, length = 10) : number { // Normalize the hash to the range [0, 10] return (hash % length + length) % length; // Ensure the result is non-negative } +