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,