Island UI: rename a method in Main.tsx to be more specific: getSideNavHeader -> getIslandModeTitle

This commit is contained in:
VakarisZ 2021-07-20 08:58:21 +03:00
parent 8584217e3b
commit ff9d649b76
1 changed files with 2 additions and 2 deletions

View File

@ -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 (
<Router>