mirror of
https://github.com/desktop/desktop
synced 2024-09-19 16:12:20 +00:00
Merge pull request #14237 from desktop/beta-link-in-about
Add a suggestion to try the beta channel
This commit is contained in:
commit
4b75820c94
|
@ -227,6 +227,24 @@ export class About extends React.Component<IAboutProps, IAboutState> {
|
|||
return null
|
||||
}
|
||||
|
||||
private renderBetaLink() {
|
||||
if (__RELEASE_CHANNEL__ === 'beta') {
|
||||
return
|
||||
}
|
||||
|
||||
return (
|
||||
<div>
|
||||
<p className="no-padding">Looking for the latest features?</p>
|
||||
<p className="no-padding">
|
||||
Check out the{' '}
|
||||
<LinkButton uri="https://desktop.github.com/beta">
|
||||
Beta Channel
|
||||
</LinkButton>
|
||||
</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
public render() {
|
||||
const name = this.props.applicationName
|
||||
const version = this.props.applicationVersion
|
||||
|
@ -271,6 +289,7 @@ export class About extends React.Component<IAboutProps, IAboutState> {
|
|||
</p>
|
||||
{this.renderUpdateDetails()}
|
||||
{this.renderUpdateButton()}
|
||||
{this.renderBetaLink()}
|
||||
</DialogContent>
|
||||
<DefaultDialogFooter />
|
||||
</Dialog>
|
||||
|
|
Loading…
Reference in a new issue