Browse Source

fix glitch that forces update modal to open automatically on entering manager

gre-patch-1
Valentin D. Pinkman 6 years ago
parent
commit
68eeff0744
No known key found for this signature in database GPG Key ID: E7D110669FFB8D3E
  1. 2
      src/components/ManagerPage/FirmwareUpdate.js

2
src/components/ManagerPage/FirmwareUpdate.js

@ -59,7 +59,7 @@ class FirmwareUpdate extends PureComponent<Props, State> {
this.setState({ this.setState({
firmware, firmware,
ready: true, ready: true,
modal: 'install', modal: deviceInfo.isOSU ? 'install' : 'closed',
stepId: deviceInfo.isOSU ? 'updateMCU' : 'idCheck', stepId: deviceInfo.isOSU ? 'updateMCU' : 'idCheck',
}) })
/* eslint-enable */ /* eslint-enable */

Loading…
Cancel
Save