From 0ba3773031e9f01a23b8f3af73461e89e36cfbba Mon Sep 17 00:00:00 2001 From: Suven-p Date: Sat, 19 Oct 2024 17:45:05 +0545 Subject: [PATCH] Bugfix: Correct validation for rabbitmq nodes --- src/pages/EditMonitor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index 24b53e28bc..3fd0c930f2 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -1789,7 +1789,7 @@ message HealthCheckResponse { toast.error(this.$t("rabbitmqNodesRequired")); return false; } - if (!this.monitor.rabbitmqNodes.every(node => node.startsWith("http://" || node.startsWith("https://")))) { + if (!this.monitor.rabbitmqNodes.every(node => node.startsWith("http://") || node.startsWith("https://"))) { toast.error(this.$t("rabbitmqNodesInvalid")); return false; }