diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/scoutsuite/ResourceDropdown.js b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/scoutsuite/ResourceDropdown.js index 212d37331..0e2421e56 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/scoutsuite/ResourceDropdown.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/scoutsuite/ResourceDropdown.js @@ -39,10 +39,10 @@ export default function ResourceDropdown(props) { function replacePathDotsWithArrows(resourcePath) { let path_vars = resourcePath.split('.') let display_path = [] - for(let i = 0; i < path_vars.length; i++){ + for (let i = 0; i < path_vars.length; i++) { display_path.push(path_vars[i]) - if( i !== path_vars.length - 1) { - display_path.push() + if (i !== path_vars.length - 1) { + display_path.push() } } return display_path; @@ -54,14 +54,14 @@ export default function ResourceDropdown(props) { function getResourceValueDisplay() { if (resource_value) { - return( + return (

Value:

{prettyPrintJson(resource_value)}
- ) + ); } else { - return '' + return ''; } }