Skip to content

Commit 1c3d20e

Browse files
authored
Merge pull request #511 from kgryte/header-tab-order
Switch branch header tab order
2 parents 9f813f5 + ccc82c2 commit 1c3d20e

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/components/BranchHeader.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -128,17 +128,6 @@ export class BranchHeader extends React.Component<
128128
return (
129129
<div className={this.getBranchStyle()}>
130130
<div style={{ display: 'flex' }}>
131-
<div
132-
className={this.getHistoryHeaderStyle()}
133-
onClick={
134-
this.props.sideBarExpanded
135-
? null
136-
: () => this.props.toggleSidebar()
137-
}
138-
title={'Show commit history'}
139-
>
140-
<h3 className={historyLabelStyle}>History</h3>
141-
</div>
142131
<div
143132
className={this.getBranchHeaderStyle()}
144133
onClick={
@@ -184,6 +173,17 @@ export class BranchHeader extends React.Component<
184173
</h3>
185174
)}
186175
</div>
176+
<div
177+
className={this.getHistoryHeaderStyle()}
178+
onClick={
179+
this.props.sideBarExpanded
180+
? null
181+
: () => this.props.toggleSidebar()
182+
}
183+
title={'Show commit history'}
184+
>
185+
<h3 className={historyLabelStyle}>History</h3>
186+
</div>
187187
</div>
188188
{!this.props.sideBarExpanded && (
189189
<React.Fragment>

0 commit comments

Comments
 (0)