UI: Rename function to make more sense
This commit is contained in:
parent
c458f933c4
commit
c129f809b0
|
@ -55,7 +55,7 @@ function RunOptions(props) {
|
||||||
return InlineSelection(defaultContents, newProps);
|
return InlineSelection(defaultContents, newProps);
|
||||||
}
|
}
|
||||||
|
|
||||||
function isNotRansomware(islandMode){
|
function isNotRansomwareMode(islandMode){
|
||||||
return islandMode !== 'ransomware';
|
return islandMode !== 'ransomware';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ function RunOptions(props) {
|
||||||
setComponent(LocalManualRunOptions,
|
setComponent(LocalManualRunOptions,
|
||||||
{ips: ips, setComponent: setComponent})
|
{ips: ips, setComponent: setComponent})
|
||||||
}}/>
|
}}/>
|
||||||
{isNotRansomware(props.islandMode) && <AWSRunButton setComponent={setComponent}/> }
|
{isNotRansomwareMode(props.islandMode) && <AWSRunButton setComponent={setComponent}/> }
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue