Fixed joyride disable when you are not authenticated

stable
Jesús Espino 2017-04-01 15:37:06 +02:00
parent 83d8eae300
commit 44e9a3f099
1 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,9 @@ class CurrentUserService
.then (projects) => @.setProjects(projects)
disableJoyRide: (section) ->
if !@.isAuthenticated()
return
if section
@._joyride[section] = false
else