style: fix linting

pull/2693/head
Peace 2 years ago
parent 9bd76c2795
commit 2b46da0f47
No known key found for this signature in database
GPG Key ID: 0EF6B46E172B739F

@ -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);

@ -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 {

Loading…
Cancel
Save