UI: Add note in StolenPasswords component

This commit is contained in:
Ilija Lazoroski 2022-07-18 12:14:31 +02:00
parent 67e67441c1
commit c56b38f695
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ class StolenPasswordsComponent extends React.Component {
let showPagination = this.props.data.length > pageSize; let showPagination = this.props.data.length > pageSize;
let table_data = this.props.data; let table_data = this.props.data;
if(this.props.format) { 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); table_data = getCredentialsTableData(this.props.data);
} }