diff --git a/tdp/dao.py b/tdp/dao.py index 26e3c8cf..0c217f9f 100644 --- a/tdp/dao.py +++ b/tdp/dao.py @@ -185,11 +185,13 @@ def get_hosted_entity_statuses( to_config=( bool(status.latest_to_config) if status.latest_to_config is not None + and bool(status.latest_is_active) is not False else None ), to_restart=( bool(status.latest_to_restart) if status.latest_to_restart is not None + and bool(status.latest_is_active) is not False else None ), is_active=(