|
|
@ -1371,11 +1371,11 @@ class Monitor extends BeanModel {
|
|
|
|
if (maintenance && await maintenance.isUnderMaintenance()) {
|
|
|
|
if (maintenance && await maintenance.isUnderMaintenance()) {
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const parent = await Monitor.getParent(monitorID);
|
|
|
|
const parent = await Monitor.getParent(monitorID);
|
|
|
|
if (parent != null) {
|
|
|
|
if (parent != null) {
|
|
|
|
return await Monitor.isUnderMaintenance(parent.id);
|
|
|
|
return await Monitor.isUnderMaintenance(parent.id);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|