diff --git a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js index 81dfbfb14..85d20c82d 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js @@ -64,7 +64,8 @@ class ConfigurePageComponent extends AuthComponent { } getSectionsOrder() { - let islandMode = this.props.islandMode !== 'unset' ? this.props.islandMode : 'advanced' + let islandModeSet = (this.props.islandMode !== 'unset' && this.props.islandMode !== undefined) + let islandMode = islandModeSet ? this.props.islandMode : 'advanced' return CONFIGURATION_TABS_PER_MODE[islandMode]; }