mirror of
https://github.com/koichixD/uptime-kuma.git
synced 2026-08-29 00:01:00 +00:00
fix: isParentActive return type to boolean (#7121)
This commit is contained in:
@@ -2059,7 +2059,7 @@ class Monitor extends BeanModel {
|
||||
}
|
||||
|
||||
const parentActive = await Monitor.isParentActive(parent.id);
|
||||
return parent.active && parentActive;
|
||||
return parent.active === 1 && parentActive;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user