mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 05:55:44 +01:00
Merge with 2.0.0-m3
This commit is contained in:
@@ -66,7 +66,7 @@ class RepositoryConfig extends React.Component<Props, State> {
|
||||
|
||||
branchSelected = (branch: Branch) => {
|
||||
if (!branch) {
|
||||
this.setState({ ...this.state, selectedBranchName: null , defaultBranchChanged: false});
|
||||
this.setState({ ...this.state, selectedBranchName: undefined, defaultBranchChanged: false});
|
||||
return;
|
||||
}
|
||||
this.setState({ ...this.state, selectedBranchName: branch.name, defaultBranchChanged: false });
|
||||
|
||||
Reference in New Issue
Block a user