Show onboarding only when user is authenticated.
authorAlexandre Segura <mex.zktk@gmail.com>
Wed, 03 May 2017 10:40:48 +0200
changeset 493 5e8ef87576ec
parent 492 ed793bd67b89
child 494 6436836cd043
Show onboarding only when user is authenticated.
src_js/iconolab-bundle/src/components/editor/Canvas.vue
--- a/src_js/iconolab-bundle/src/components/editor/Canvas.vue	Wed May 03 10:30:49 2017 +0200
+++ b/src_js/iconolab-bundle/src/components/editor/Canvas.vue	Wed May 03 10:40:48 2017 +0200
@@ -251,7 +251,7 @@
 
                 const onboarding = Cookies.get('__iconolab_onboarding');
 
-                if (!onboarding) {
+                if (!onboarding && this.isAuthenticated) {
                     setTimeout(() => {
                         this.startOnboarding();
                     }, 1000);