mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
UI - Fix host count (#13276)
## Addresses #13277 <img width="642" alt="Screenshot 2023-08-10 at 11 22 19 AM" src="https://github.com/fleetdm/fleet/assets/61553566/3f7e4b47-c0ef-4f52-9aed-75adcf12ab61"> <img width="649" alt="Screenshot 2023-08-10 at 11 22 49 AM" src="https://github.com/fleetdm/fleet/assets/61553566/55cf79ca-fbb2-42e8-a545-de30b55fb8f5"> - [x] Manual QA Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
This commit is contained in:
parent
21b21abd22
commit
948ae13507
@ -107,7 +107,9 @@ const useInfoCard = ({
|
||||
<div className={`${baseClass}__section-title-group`}>
|
||||
<div className={`${baseClass}__section-title`}>
|
||||
<h2>{title}</h2>
|
||||
{total_host_count && <span>{total_host_count}</span>}
|
||||
{total_host_count !== undefined && (
|
||||
<span>{total_host_count}</span>
|
||||
)}
|
||||
</div>
|
||||
{titleDetail && (
|
||||
<div className={`${baseClass}__section-title-detail`}>
|
||||
|
Loading…
Reference in New Issue
Block a user