Avoid get user for notifications when is anonymous
parent
b7cbfcf542
commit
c36ee218d2
|
@ -88,6 +88,8 @@ class EventsService
|
|||
@rootScope.$digest()
|
||||
|
||||
liveNotifications: ->
|
||||
if not @.auth.userData?
|
||||
return
|
||||
userId = @.auth.userData.get('id')
|
||||
|
||||
subscribe = () =>
|
||||
|
|
Loading…
Reference in New Issue