Browse Source
fix(onboarding): set default values for onboarding
- Set the default connection type to `local`
- Set the default for autopilot to `true`
renovate/lint-staged-8.x
Tom Kirkpatrick
7 years ago
No known key found for this signature in database
GPG Key ID: 72203A8EC5967EA8
1 changed files with
2 additions and
2 deletions
-
app/reducers/onboarding.js
|
|
@ -382,7 +382,7 @@ export { onboardingSelectors } |
|
|
|
const initialState = { |
|
|
|
onboarded: false, |
|
|
|
step: 0.1, |
|
|
|
connectionType: store.get('type', ''), |
|
|
|
connectionType: store.get('type', 'local'), |
|
|
|
connectionHost: store.get('host', ''), |
|
|
|
connectionCert: store.get('cert', ''), |
|
|
|
connectionMacaroon: store.get('macaroon', ''), |
|
|
@ -428,7 +428,7 @@ const initialState = { |
|
|
|
import: false |
|
|
|
}, |
|
|
|
|
|
|
|
autopilot: store.get('autopilot', null) |
|
|
|
autopilot: store.get('autopilot', true) |
|
|
|
} |
|
|
|
|
|
|
|
// ------------------------------------
|
|
|
|