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