mirror of
https://github.com/desktop/desktop
synced 2024-09-13 21:31:32 +00:00
Update ConfirmForcePush dialog to use dismissDisabled instead
This commit is contained in:
parent
a779bc7e9f
commit
4a2fd09be4
|
@ -37,7 +37,7 @@ export class ConfirmForcePush extends React.Component<
|
|||
return (
|
||||
<Dialog
|
||||
title="Are you sure you want to force push?"
|
||||
dismissable={!this.state.isLoading}
|
||||
dismissDisabled={this.state.isLoading}
|
||||
onDismissed={this.props.onDismissed}
|
||||
onSubmit={this.onForcePush}
|
||||
type="warning"
|
||||
|
|
Loading…
Reference in a new issue