From d0a63d56cf433ebbda73426d9397166eeeffe0a1 Mon Sep 17 00:00:00 2001 From: titojuanc <167209613+titojuanc@users.noreply.github.com> Date: Mon, 1 Jun 2026 18:35:19 -0300 Subject: [PATCH] fix: preserve saved protocol when loading Globalping ping monitor (#7465) --- 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 48117c8f6..2ee2e66ae 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -3730,7 +3730,7 @@ message HealthCheckResponse { } } - if (newSubtype !== oldSubtype) { + if (oldSubtype && newSubtype !== oldSubtype) { if (newSubtype === "ping") { this.monitor.protocol = "ICMP"; this.monitor.port = "80";