mirror of
https://github.com/desktop/desktop
synced 2024-08-24 18:57:33 +00:00
Show update state on test
This commit is contained in:
parent
24241810c4
commit
ef61cf1f3e
|
@ -177,14 +177,11 @@ export class About extends React.Component<IAboutProps, IAboutState> {
|
|||
return null
|
||||
}
|
||||
|
||||
if (
|
||||
__RELEASE_CHANNEL__ === 'development' ||
|
||||
__RELEASE_CHANNEL__ === 'test'
|
||||
) {
|
||||
if (__RELEASE_CHANNEL__ === 'development') {
|
||||
return (
|
||||
<p>
|
||||
The application is currently running in development or test mode and
|
||||
will not receive any updates.
|
||||
The application is currently running in development and will not
|
||||
receive any updates.
|
||||
</p>
|
||||
)
|
||||
}
|
||||
|
@ -213,10 +210,7 @@ export class About extends React.Component<IAboutProps, IAboutState> {
|
|||
return null
|
||||
}
|
||||
|
||||
if (
|
||||
__RELEASE_CHANNEL__ === 'development' ||
|
||||
__RELEASE_CHANNEL__ === 'test'
|
||||
) {
|
||||
if (__RELEASE_CHANNEL__ === 'development') {
|
||||
return null
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue