Island UI: improved the UI/readability in BreachSection.tsx

This commit is contained in:
VakarisZ 2021-07-26 14:22:53 +03:00
parent a6374e0678
commit 2f40fc4e54
1 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ import {renderLimitedArray} from '../common/RenderArrays';
function BreachSection() {
const [machines, setMachines] = useState(null);
let description = 'Ransomware attacks start after machines in the internal network get compromised. ' +
'The initial compromise was simulated by running monkeys manually.';
'The initial compromise was simulated by running Monkey Agents manually.';
useEffect(() => {
IslandHttpClient.get('/api/exploitations/manual')
@ -40,8 +40,8 @@ function getBreachSectionBody(machines) {
function getMachine(machine) {
return (
<li key={machine['hostname']}>
<b>{machine['hostname']}</b>
({renderLimitedArray(machine['ip_addresses'], 2, 'ip-address')}) at {machine['start_time']}
<b>{machine['hostname']}</b>&nbsp;
({renderLimitedArray(machine['ip_addresses'], 2, 'ip-address')}) at <b>{machine['start_time']}</b>
</li>
)
}