diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/ransomware/AttackSection.tsx b/monkey/monkey_island/cc/ui/src/components/report-components/ransomware/AttackSection.tsx index 53f2e6a15..69dc76c08 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/ransomware/AttackSection.tsx +++ b/monkey/monkey_island/cc/ui/src/components/report-components/ransomware/AttackSection.tsx @@ -36,8 +36,8 @@ function AttackSection(): ReactElement { function getBody(tableData): ReactFragment { return ( <> -
Infection Monkey has encrypted {tableData.length} files on your network:
-Infection Monkey has encrypted {tableData.length} files on your network.
+ {(tableData.length > 0) &&