From 2b46da0f47c6f97675525331b34b5b89da8c5c5a Mon Sep 17 00:00:00 2001 From: Peace Date: Wed, 31 May 2023 21:19:46 +0200 Subject: [PATCH] style: fix linting --- server/model/monitor.js | 2 +- src/pages/Details.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/model/monitor.js b/server/model/monitor.js index 7ae698435..5bcb2b103 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -1371,7 +1371,7 @@ class Monitor extends BeanModel { if (maintenance && await maintenance.isUnderMaintenance()) { return true; } - + const parent = await Monitor.getParent(monitorID); if (parent != null) { return await Monitor.isUnderMaintenance(parent.id); diff --git a/src/pages/Details.vue b/src/pages/Details.vue index e52158502..7a7ab62cd 100644 --- a/src/pages/Details.vue +++ b/src/pages/Details.vue @@ -320,8 +320,8 @@ export default { return ""; } return this.monitor.pathName.substr(0, this.monitor.pathName.lastIndexOf("/")); - } - + }, + pushURL() { return this.$root.baseURL + "/api/push/" + this.monitor.pushToken + "?status=up&msg=OK&ping="; }, @@ -426,7 +426,7 @@ export default { monitorURL(id) { return getMonitorRelativeURL(id); }, - + /** Filter and hide password in URL for display */ filterPassword(urlString) { try {