Fix issue when "DeviceMenu" couldn't be closed when device was in a bootloader mode

pull/67/head
Vasek Mlejnsky 6 years ago
parent b8d69ca0f5
commit e2b6fae98e

@ -93,6 +93,10 @@ class LeftNavigation extends Component {
shouldRenderDeviceSelection: false,
animationType: 'slide-right',
});
} else if (selectedDevice.features.bootloader_mode) {
this.setState({
shouldRenderDeviceSelection: false,
});
}
}

Loading…
Cancel
Save