Onboarding: Prevent retry and activate and continue button from appearing at the same time. (https://github.com/woocommerce/woocommerce-admin/pull/3545)
This commit is contained in:
parent
d29d674768
commit
adfd48d444
|
@ -158,11 +158,12 @@ class Plugins extends Component {
|
|||
</Button>
|
||||
) }
|
||||
|
||||
{ ! ( hasErrors && 'activate' === step ) && (
|
||||
<Button isPrimary isBusy={ activateButtonBusy } onClick={ this.activatePlugins }>
|
||||
{ __( 'Activate & continue', 'woocommerce-admin' ) }
|
||||
</Button>
|
||||
) }
|
||||
{ ! hasErrors &&
|
||||
'activate' === step && (
|
||||
<Button isPrimary isBusy={ activateButtonBusy } onClick={ this.activatePlugins }>
|
||||
{ __( 'Activate & continue', 'woocommerce-admin' ) }
|
||||
</Button>
|
||||
) }
|
||||
</div>
|
||||
</Card>
|
||||
</Fragment>
|
||||
|
|
Loading…
Reference in New Issue