Update app/src/ui/repository-settings/repository-settings.tsx

Co-authored-by: evelyn masso <outofambit@github.com>
This commit is contained in:
Rafael Oleza 2020-05-28 10:44:03 +02:00 committed by GitHub
parent 4985ff4d4b
commit f5b548bee4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -233,6 +233,7 @@ export class RepositorySettings extends React.Component<
}
}
// only update this if it will be different from what we have stored
if (
this.state.forkContributionTarget !==
this.props.repository.workflowPreferences.forkContributionTarget