Browse Source

Merge pull request #865 from valpinkman/polishes

small fixes
master
Valentin D. Pinkman 7 years ago
committed by GitHub
parent
commit
4e0ef87507
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/components/ManagerPage/FirmwareUpdate.js
  2. 2
      src/components/modals/UpdateFirmware/Disclaimer.js

4
src/components/ManagerPage/FirmwareUpdate.js

@ -120,7 +120,7 @@ class FirmwareUpdate extends PureComponent<Props, State> {
handleInstallModal = (stepId: StepId = 'idCheck', shouldFlash?: boolean) =>
this.setState({ modal: 'install', stepId, shouldFlash, ready: true })
handleDisclairmerNext = () => this.setState({ modal: 'install' })
handleDisclaimerNext = () => this.setState({ modal: 'install' })
render() {
const { deviceInfo, t } = this.props
@ -156,7 +156,7 @@ class FirmwareUpdate extends PureComponent<Props, State> {
<DisclaimerModal
firmware={latestFirmware}
status={modal}
goToNextStep={this.handleDisclairmerNext}
goToNextStep={this.handleDisclaimerNext}
onClose={this.handleCloseModal}
/>
<UpdateModal

2
src/components/modals/UpdateFirmware/Disclaimer.js

@ -69,7 +69,7 @@ class DisclaimerModal extends PureComponent<Props, State> {
<GradientBox />
</ModalContent>
<ModalFooter horizontal justifyContent="flex-end" style={{ width: '100%' }}>
<Button primary onClick={() => goToNextStep()}>
<Button primary onClick={goToNextStep}>
{t('app:manager.firmware.continue')}
</Button>
</ModalFooter>

Loading…
Cancel
Save