From c129f809b0a3666c5e5aca482cc292de44727c46 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Tue, 8 Feb 2022 11:54:30 +0530 Subject: [PATCH] UI: Rename function to make more sense --- .../cc/ui/src/components/pages/RunMonkeyPage/RunOptions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 e01b55789..7c099f224 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,7 +55,7 @@ function RunOptions(props) { return InlineSelection(defaultContents, newProps); } - function isNotRansomware(islandMode){ + function isNotRansomwareMode(islandMode){ return islandMode !== 'ransomware'; } @@ -72,7 +72,7 @@ function RunOptions(props) { setComponent(LocalManualRunOptions, {ips: ips, setComponent: setComponent}) }}/> - {isNotRansomware(props.islandMode) && } + {isNotRansomwareMode(props.islandMode) && } ); }