Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Commits on Source (2)
(chore): record post views when logged out too
· 3ea249c0
Mark Harding
authored
Sep 20, 2019
3ea249c0
Merge remote-tracking branch 'upstream/master' into epic/minds-pro
· 8ad6d290
Marcelo Rivera
authored
Sep 24, 2019
8ad6d290
Hide whitespace changes
Inline
Side-by-side
src/app/modules/newsfeed/services/newsfeed.service.ts
View file @
8ad6d290
...
...
@@ -27,9 +27,9 @@ export class NewsfeedService {
channel
=
null
,
clientMeta
=
{}
)
{
if
(
!
this
.
session
.
isLoggedIn
())
{
return
;
}
//
if (!this.session.isLoggedIn()) {
//
return;
//
}
// if it's a boost we record the boost view AND the activity view
if
(
entity
.
boosted_guid
)
{
...
...