diff --git a/src/widgets/openmediavault/methods/smart_get_list.jsx b/src/widgets/openmediavault/methods/smart_get_list.jsx index 55a76db67..b8ca33ee5 100644 --- a/src/widgets/openmediavault/methods/smart_get_list.jsx +++ b/src/widgets/openmediavault/methods/smart_get_list.jsx @@ -3,13 +3,13 @@ import Container from "components/services/widget/container"; import Block from "components/services/widget/block"; const passedReduce = (acc, e) => { - if (e.overallstatus === "GOOD") { + if (e.monitor && e.overallstatus === "GOOD") { return acc + 1; } return acc; }; const failedReduce = (acc, e) => { - if (e.overallstatus !== "GOOD") { + if (e.monitor && e.overallstatus !== "GOOD") { return acc + 1; } return acc;