File tree Expand file tree Collapse file tree 4 files changed +4
-10
lines changed
__tests__/components/__snapshots__ Expand file tree Collapse file tree 4 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -149,13 +149,7 @@ exports[`components/settings-modal.js should render itself & its children (open
149
149
<span
150
150
className = " octicon octicon-sign-out"
151
151
/>
152
- Logout
153
- </button >
154
- <button
155
- className = " btn btn-secondary"
156
- onClick = { [Function ]}
157
- >
158
- Close
152
+ Logout from all accounts
159
153
</button >
160
154
</div >
161
155
</div >
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export default class LogoWhite extends React.PureComponent {
9
9
render ( ) {
10
10
/* eslint-disable */
11
11
return (
12
- < svg className = { `logo ${ this . props . className } ` } onClick = { ( ) => this . props . onClick && this . props . onClick ( ) } xmlns = "http://www.w3.org/2000/svg" xmlnsXlink = "http://www.w3.org/1999/xlink" viewBox = "0 0 180.31 182.52" >
12
+ < svg className = { `logo${ this . props . className ? ' ' + this . props . className : '' } ` } onClick = { ( ) => this . props . onClick && this . props . onClick ( ) } xmlns = "http://www.w3.org/2000/svg" xmlnsXlink = "http://www.w3.org/1999/xlink" viewBox = "0 0 180.31 182.52" >
13
13
< defs >
14
14
15
15
< linearGradient id = "linear-dark-gradient" x1 = "300.53" y1 = "294.89" x2 = "130.22" y2 = "240.53" gradientUnits = "userSpaceOnUse" >
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export default class LogoWhite extends React.PureComponent {
9
9
render ( ) {
10
10
/* eslint-disable */
11
11
return (
12
- < svg className = { `logo ${ this . props . className } ` } onClick = { ( ) => this . props . onClick && this . props . onClick ( ) } xmlns = "http://www.w3.org/2000/svg" xmlnsXlink = "http://www.w3.org/1999/xlink" viewBox = "0 0 180.31 182.52" >
12
+ < svg className = { `logo${ this . props . className ? ' ' + this . props . className : '' } ` } onClick = { ( ) => this . props . onClick && this . props . onClick ( ) } xmlns = "http://www.w3.org/2000/svg" xmlnsXlink = "http://www.w3.org/1999/xlink" viewBox = "0 0 180.31 182.52" >
13
13
< defs >
14
14
15
15
< linearGradient id = "linear-white-gradient" x1 = "300.53" y1 = "294.89" x2 = "130.22" y2 = "240.53" gradientUnits = "userSpaceOnUse" >
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export class Sidebar extends React.Component {
109
109
</ ul >
110
110
) }
111
111
112
- { isGitHubLoggedIn && this . _renderGitHubAccount ( ) }
112
+ { isGitHubLoggedIn && ! this . props . enterpriseAccounts . isEmpty ( ) && this . _renderGitHubAccount ( ) }
113
113
{ this . _renderEnterpriseAccounts ( ) }
114
114
115
115
< div className = "footer" >
You can’t perform that action at this time.
0 commit comments