fix: preserve saved protocol when loading Globalping ping monitor (#7465)

This commit is contained in:
titojuanc
2026-06-01 18:35:19 -03:00
committed by GitHub
parent 9f3b837c8c
commit d0a63d56cf
+1 -1
View File
@@ -3730,7 +3730,7 @@ message HealthCheckResponse {
}
}
if (newSubtype !== oldSubtype) {
if (oldSubtype && newSubtype !== oldSubtype) {
if (newSubtype === "ping") {
this.monitor.protocol = "ICMP";
this.monitor.port = "80";