From a775c10c42f62b87137cff13c6b592a2a4364e95 Mon Sep 17 00:00:00 2001 From: Maksim Kachynski Date: Thu, 12 Jun 2025 01:53:09 +0300 Subject: [PATCH] DEVOPS-000 Fix review comments --- server/monitor-types/manual.js | 6 +----- src/pages/EditMonitor.vue | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/server/monitor-types/manual.js b/server/monitor-types/manual.js index c7e40391b..57c58d016 100644 --- a/server/monitor-types/manual.js +++ b/server/monitor-types/manual.js @@ -9,11 +9,7 @@ class ManualMonitorType extends MonitorType { conditionVariables = []; /** - * Checks the status of the monitor based on the manually set status - * This monitor type is specifically designed for status pages where manual control is needed - * @param {object} monitor - Monitor object containing the current status and message - * @param {object} heartbeat - Object to write the status of the check - * @returns {Promise} + * @inheritdoc */ async check(monitor, heartbeat) { if (monitor.manual_status !== null) { diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index 9e9cb838d..b9d9bf93b 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -1202,6 +1202,7 @@ export default { VueMultiselect, EditMonitorConditions, }, + data() { return { minInterval: MIN_INTERVAL_SECOND,