mirror of
https://github.com/desktop/desktop
synced 2024-11-05 20:49:32 +00:00
Don't persist credential helper setting unless it's changed
This commit is contained in:
parent
1acc9d2d92
commit
b298938c4f
1 changed files with 7 additions and 2 deletions
|
@ -714,9 +714,14 @@ export class Preferences extends React.Component<
|
|||
)
|
||||
|
||||
if (enableExternalCredentialHelper()) {
|
||||
this.props.dispatcher.setUseExternalCredentialHelper(
|
||||
if (
|
||||
this.props.useExternalCredentialHelper !==
|
||||
this.state.useExternalCredentialHelper
|
||||
)
|
||||
) {
|
||||
this.props.dispatcher.setUseExternalCredentialHelper(
|
||||
this.state.useExternalCredentialHelper
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
await this.props.dispatcher.setConfirmRepoRemovalSetting(
|
||||
|
|
Loading…
Reference in a new issue