From 948ae13507a17205c5b392a08c06ff10b7ba12b7 Mon Sep 17 00:00:00 2001 From: Jacob Shandling <61553566+jacobshandling@users.noreply.github.com> Date: Thu, 10 Aug 2023 11:40:43 -0700 Subject: [PATCH] UI - Fix host count (#13276) ## Addresses #13277 - [x] Manual QA Co-authored-by: Jacob Shandling --- frontend/pages/DashboardPage/components/InfoCard/InfoCard.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/pages/DashboardPage/components/InfoCard/InfoCard.tsx b/frontend/pages/DashboardPage/components/InfoCard/InfoCard.tsx index c578757524..c8addf49c4 100644 --- a/frontend/pages/DashboardPage/components/InfoCard/InfoCard.tsx +++ b/frontend/pages/DashboardPage/components/InfoCard/InfoCard.tsx @@ -107,7 +107,9 @@ const useInfoCard = ({ {title} - {total_host_count && {total_host_count}} + {total_host_count !== undefined && ( + {total_host_count} + )} {titleDetail && (