forked from p15670423/monkey
Merge pull request #1848 from guardicore/1836-fix-eslint-errors
Fix eslint errors
This commit is contained in:
commit
cc83896724
|
@ -92,7 +92,7 @@ class MapPageComponent extends AuthComponent {
|
||||||
body: JSON.stringify({kill_time: Date.now() / 1000.0})
|
body: JSON.stringify({kill_time: Date.now() / 1000.0})
|
||||||
})
|
})
|
||||||
.then(res => res.json())
|
.then(res => res.json())
|
||||||
.then(res => {this.setState({killPressed: true})});
|
.then(() => {this.setState({killPressed: true})});
|
||||||
};
|
};
|
||||||
|
|
||||||
renderKillDialogModal = () => {
|
renderKillDialogModal = () => {
|
||||||
|
|
|
@ -53,7 +53,7 @@ class ReportMatrixComponent extends React.Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
renderTechnique(technique) {
|
renderTechnique(technique) {
|
||||||
if (technique == null || typeof technique === undefined) {
|
if (technique == null || typeof technique === 'undefined') {
|
||||||
return (<div/>)
|
return (<div/>)
|
||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
|
|
|
@ -50,7 +50,7 @@ function aggregateMultipleResultsPba(results) {
|
||||||
for (let i = 0; i < results.length; i++) {
|
for (let i = 0; i < results.length; i++) {
|
||||||
if (multipleResultsPbas.includes(results[i].name))
|
if (multipleResultsPbas.includes(results[i].name))
|
||||||
aggregateResults(results[i]);
|
aggregateResults(results[i]);
|
||||||
if ((results[i].name === PROCESS_LIST_COLLECTION) && (typeof results[i].result[0] !== "string"))
|
if ((results[i].name === PROCESS_LIST_COLLECTION) && (typeof results[i].result[0] !== 'string'))
|
||||||
modifyProcessListCollectionResult(results[i].result);
|
modifyProcessListCollectionResult(results[i].result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue