From 28e5310b2b323fc7949a56863663405ee6d69702 Mon Sep 17 00:00:00 2001 From: Tom Kirkpatrick Date: Fri, 13 Jul 2018 15:45:03 +0200 Subject: [PATCH] fix(onboarding): set default values for onboarding - Set the default connection type to `local` - Set the default for autopilot to `true` --- app/reducers/onboarding.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/reducers/onboarding.js b/app/reducers/onboarding.js index dbaf48ed..17789eb7 100644 --- a/app/reducers/onboarding.js +++ b/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) } // ------------------------------------