forked from p15670423/monkey
UI: Fix error in ConfigurePage.js after refresh of the page
This commit is contained in:
parent
5a52ceaa4c
commit
ef8d52b96f
|
@ -64,7 +64,8 @@ class ConfigurePageComponent extends AuthComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
getSectionsOrder() {
|
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];
|
return CONFIGURATION_TABS_PER_MODE[islandMode];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue