If localStorage is disabled, we skip the onboarding - #302

This commit is contained in:
baku 2017-03-03 08:48:11 +01:00
parent c88a7615b9
commit af5b96fca9

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);