Table not shown if no hashes were used.

This commit is contained in:
VakarisZ 2019-06-07 16:49:04 +03:00
parent 75d52a7ee7
commit af63e93b13
1 changed files with 7 additions and 6 deletions

View File

@ -32,12 +32,13 @@ class T1075 extends React.Component {
<div>
<div>{this.props.data.message}</div>
<br/>
<ReactTable
columns={T1075.getHashColumns()}
data={this.props.data.successful_logins}
showPagination={false}
defaultPageSize={this.props.data.successful_logins.length}
/>
{this.props.data.status === 'USED' ?
<ReactTable
columns={T1075.getHashColumns()}
data={this.props.data.successful_logins}
showPagination={false}
defaultPageSize={this.props.data.successful_logins.length}
/> : ""}
</div>
);
}