Skip to content

Commit

Permalink
fix(self-hosting): Check for env properly
Browse files Browse the repository at this point in the history
  • Loading branch information
jackiehluo committed Jul 22, 2016
1 parent d916e1d commit a471e81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal_packages/onboarding/lib/page-account-choose.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ export default class AccountChoosePage extends React.Component {
}

render() {
if (NylasEnv.config.get('env', 'custom') ||
NylasEnv.config.get('env', 'local')) {
if (NylasEnv.config.get('env') === 'custom' ||
NylasEnv.config.get('env') === 'local') {
return (<SelfHostingConfigPage addAccount />)
}

Expand Down

0 comments on commit a471e81

Please sign in to comment.