Merge pull request #320 from bakulf/localStorage
If localStorage is disabled, we skip the onboarding - #302
This commit is contained in:
commit
b9c03aacef
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue