style: fix linting

This commit is contained in:
Peace 2023-05-31 21:19:46 +02:00
parent 9bd76c2795
commit 2b46da0f47
No known key found for this signature in database
GPG Key ID: 0EF6B46E172B739F
2 changed files with 4 additions and 4 deletions

View File

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

View File

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