Merge pull request #320 from bakulf/localStorage

If localStorage is disabled, we skip the onboarding - #302
This commit is contained in:
luke crouch
2017-03-06 14:26:49 -06:00
committed by GitHub
+2 -1
View File
@@ -32,7 +32,8 @@ const Logic = {
// Routing to the correct panel.
.then(() => {
if (localStorage.getItem("onboarded3")) {
// If localStorage is disabled, we don't show the onboarding.
if (!localStorage || localStorage.getItem("onboarded3")) {
this.showPanel(P_CONTAINERS_LIST);
} else if (localStorage.getItem("onboarded2")) {
this.showPanel(P_ONBOARDING_3);