forked from p15670423/monkey
Island UI: rename a method in Main.tsx to be more specific: getSideNavHeader -> getIslandModeTitle
This commit is contained in:
parent
8584217e3b
commit
ff9d649b76
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue