forked from p15670423/monkey
UI: Rename function in RunOptions.js more appropriately
This commit is contained in:
parent
c357ee410e
commit
88f156ea40
|
@ -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) && <AWSRunButton setComponent={setComponent}/> }
|
||||
{isNotRansomware(props.islandMode) && <AWSRunButton setComponent={setComponent}/> }
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue