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); }