UI: Rename function to make more sense

This commit is contained in:
Shreya Malviya 2022-02-08 11:54:30 +05:30
parent c458f933c4
commit c129f809b0
1 changed files with 2 additions and 2 deletions

View File

@ -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}/> }
</> </>
); );
} }