minifix(GUI): negate predicate to show help icon (#2300)

Change-Type: patch
This commit is contained in:
Benedict Aas 2018-05-03 11:00:37 +01:00 committed by GitHub
parent 674019ea75
commit c1b97b1b44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -324,7 +324,7 @@ app.controller('HeaderController', function (OSOpenExternalService) {
* HeaderController.shouldShowHelp()
*/
this.shouldShowHelp = () => {
return Boolean(process.env.ETCHER_DISABLE_EXTERNAL_LINKS)
return !process.env.ETCHER_DISABLE_EXTERNAL_LINKS
}
})