UI: Fix telemetry filter

This commit is contained in:
Ilija Lazoroski 2021-10-12 13:34:26 +02:00
parent 356b3475cd
commit b404f75a34
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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())