diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index 82aa7d23a..73ab0479b 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -108,11 +108,11 @@
- +
{{ $t("retryIntervalDescription") }}
@@ -261,6 +261,12 @@ export default { "$route.fullPath"() { this.init(); }, + "monitor.interval"(value, oldValue) { + // Link interval and retryInerval if they are the same value. + if (this.monitor.retryInterval === oldValue) { + this.monitor.retryInterval = value; + } + } }, mounted() { this.init(); @@ -302,7 +308,7 @@ export default { name: "", url: "https://", interval: 60, - retryInterval: 0, + retryInterval: this.interval, maxretries: 0, notificationIDList: {}, ignoreTls: false,