diff --git a/packages/titus/src/serverGroup/details/scalingActivity/TitusScalingActivitiesModal.tsx b/packages/titus/src/serverGroup/details/scalingActivity/TitusScalingActivitiesModal.tsx index 6f1b4aeda93..03fb1275835 100644 --- a/packages/titus/src/serverGroup/details/scalingActivity/TitusScalingActivitiesModal.tsx +++ b/packages/titus/src/serverGroup/details/scalingActivity/TitusScalingActivitiesModal.tsx @@ -53,12 +53,12 @@ export const TitusScalingActivitiesModal = ({ dismissModal, serverGroup }: ITitu

{`There was an error loading scaling activities for ${serverGroup.name}. Please try again later.`}

)} - {!loading && !error && !scalingActivities.length && ( + {!loading && !error && !Boolean(scalingActivities.length) && (

{`No scaling activities found for ${serverGroup.name}.`}

)} - {!loading && !error && scalingActivities.length && ( + {!loading && !error && Boolean(scalingActivities.length) && (
{scalingActivities.map((a: ITitusScalingEvent, i) => (