Fixed joyride disable when you are not authenticated
parent
83d8eae300
commit
44e9a3f099
|
@ -72,6 +72,9 @@ class CurrentUserService
|
||||||
.then (projects) => @.setProjects(projects)
|
.then (projects) => @.setProjects(projects)
|
||||||
|
|
||||||
disableJoyRide: (section) ->
|
disableJoyRide: (section) ->
|
||||||
|
if !@.isAuthenticated()
|
||||||
|
return
|
||||||
|
|
||||||
if section
|
if section
|
||||||
@._joyride[section] = false
|
@._joyride[section] = false
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue