From c56b38f695c399eee075d1604c0a989ba5320144 Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Mon, 18 Jul 2022 12:14:31 +0200 Subject: [PATCH] UI: Add note in StolenPasswords component --- .../components/report-components/security/StolenPasswords.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/security/StolenPasswords.js b/monkey/monkey_island/cc/ui/src/components/report-components/security/StolenPasswords.js index b199d131d..441bac8b1 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/security/StolenPasswords.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/security/StolenPasswords.js @@ -24,6 +24,8 @@ class StolenPasswordsComponent extends React.Component { let showPagination = this.props.data.length > pageSize; let table_data = this.props.data; if(this.props.format) { + // Note: This formatting is needed because StolenPasswords + // is used in Security and Attack report with different data table_data = getCredentialsTableData(this.props.data); }