Merge with 2.0.0-m3

This commit is contained in:
René Pfeuffer
2018-12-20 10:55:40 +01:00
5 changed files with 123 additions and 9 deletions

View File

@@ -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 });