Valentin D. Pinkman
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
3 deletions
-
src/components/ManagerPage/FirmwareUpdate.js
-
src/components/modals/UpdateFirmware/Disclaimer.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 |
|
|
|
|
|
@ -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> |
|
|
|