mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 08:25:44 +01:00
Merge with upstream
This commit is contained in:
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Missing synchronization during repository creation ([#1328](https://github.com/scm-manager/scm-manager/pull/1328))
|
||||
- Missing BranchCreatedEvent for mercurial ([#1334](https://github.com/scm-manager/scm-manager/pull/1334))
|
||||
- Branch not found right after creation ([#1334](https://github.com/scm-manager/scm-manager/pull/1334))
|
||||
- Set default branch in branch selector if nothing is selected ([#1338](https://github.com/scm-manager/scm-manager/pull/1338))
|
||||
- Handling of branch with slashes in source view ([#1340](https://github.com/scm-manager/scm-manager/pull/1340))
|
||||
|
||||
## [2.5.0] - 2020-09-10
|
||||
|
||||
@@ -102,7 +102,7 @@ const ContributorDetails = styled.div`
|
||||
|
||||
const ContributorToggleLine = styled.p`
|
||||
cursor: pointer;
|
||||
/** maring-bottom is inherit from content p **/
|
||||
/** margin-bottom is inherit from content p **/
|
||||
margin-bottom: 0.5rem !important;
|
||||
`;
|
||||
|
||||
|
||||
@@ -70,12 +70,13 @@ class ChangesetsRoot extends React.Component<Props> {
|
||||
}
|
||||
|
||||
const url = urls.stripEndingSlash(match.url);
|
||||
const defaultBranch = branches?.find(b => b.defaultBranch === true);
|
||||
|
||||
return (
|
||||
<>
|
||||
<CodeActionBar
|
||||
branches={branches}
|
||||
selectedBranch={!this.isBranchAvailable() ? selectedBranch : undefined}
|
||||
selectedBranch={!this.isBranchAvailable() ? selectedBranch : defaultBranch?.name}
|
||||
onSelectBranch={this.onSelectBranch}
|
||||
switchViewLink={this.evaluateSwitchViewLink()}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user