From ff9d649b761485b9c279bc9b1a7fef8d2b99cd4e Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Tue, 20 Jul 2021 08:58:21 +0300 Subject: [PATCH] Island UI: rename a method in Main.tsx to be more specific: getSideNavHeader -> getIslandModeTitle --- monkey/monkey_island/cc/ui/src/components/Main.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/Main.tsx b/monkey/monkey_island/cc/ui/src/components/Main.tsx index eab409e25..ccd18645c 100644 --- a/monkey/monkey_island/cc/ui/src/components/Main.tsx +++ b/monkey/monkey_island/cc/ui/src/components/Main.tsx @@ -186,7 +186,7 @@ class AppComponent extends AuthComponent { } } - getSideNavHeader() { + getIslandModeTitle() { if(this.state.islandMode === 'ransomware'){ return "Ransomware" } else { @@ -200,7 +200,7 @@ class AppComponent extends AuthComponent { onStatusChange: this.updateStatus, islandMode: this.state.islandMode, defaultReport: this.getDefaultReport(), - sideNavHeader: this.getSideNavHeader()} + sideNavHeader: this.getIslandModeTitle()} return (