mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 00:15:44 +01:00
Merge with upstream
This commit is contained in:
@@ -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