forked from p34709852/monkey
UI: Fix telemetry filter
This commit is contained in:
parent
356b3475cd
commit
b404f75a34
|
@ -52,7 +52,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||
them was the same. #1514
|
||||
- ATT&CK report bug that said that the technique "`.bash_profile` and `.bashrc`" was not attempted
|
||||
when it actually was attempted but failed. #1511
|
||||
|
||||
- Telemetry bug that caused filtering to automatically refresh itself, periodically. #1392
|
||||
|
||||
### Security
|
||||
- Generate a random password when creating a new user for CommunicateAsNewUser
|
||||
|
|
|
@ -33,6 +33,15 @@ class TelemetryPageComponent extends AuthComponent {
|
|||
.then(res => this.setState({data: res.objects}));
|
||||
};
|
||||
|
||||
shouldComponentUpdate(_, nextState) {
|
||||
if (nextState.data.length > this.state.data.length)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
downloadIslandLog = () => {
|
||||
this.authFetch('/api/log/island/download')
|
||||
.then(res => res.json())
|
||||
|
|
Loading…
Reference in New Issue