Update ConfirmRemoveRepository dialog to use dismissDisabled instead

This commit is contained in:
Sergio Padrino 2024-03-21 16:34:27 +01:00
parent a20f28fe7b
commit a779bc7e9f

View file

@ -58,7 +58,7 @@ export class ConfirmRemoveRepository extends React.Component<
key="remove-repository-confirmation"
type="warning"
title={__DARWIN__ ? 'Remove Repository' : 'Remove repository'}
dismissable={isRemovingRepository ? false : true}
dismissDisabled={isRemovingRepository}
loading={isRemovingRepository}
disabled={isRemovingRepository}
onDismissed={this.props.onDismissed}