diff --git a/monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage/RunOptions.js b/monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage/RunOptions.js index 080a85df4..e01b55789 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage/RunOptions.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage/RunOptions.js @@ -55,8 +55,7 @@ function RunOptions(props) { return InlineSelection(defaultContents, newProps); } - // TODO: Change function name - function shouldShowScoutsuite(islandMode){ + function isNotRansomware(islandMode){ return islandMode !== 'ransomware'; } @@ -73,7 +72,7 @@ function RunOptions(props) { setComponent(LocalManualRunOptions, {ips: ips, setComponent: setComponent}) }}/> - {shouldShowScoutsuite(props.islandMode) && } + {isNotRansomware(props.islandMode) && } ); }