Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
399
Merge Requests
66
CI / CD
Security & Compliance
Packages
Analytics
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
9283a783
Commit
9283a783
authored
21 minutes ago
by
Mark Harding
Browse files
Options
Download
(fix): record channel view if passed through via this.user
parent
28b1e2b3
master
No related merge requests found
Pipeline
#117535644
running with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/app/modules/channels/channel.component.ts
View file @
9283a783
...
...
@@ -70,6 +70,9 @@ export class ChannelComponent {
ngOnInit
()
{
this
.
updateMeta
();
if
(
this
.
user
)
{
this
.
clientMetaService
.
recordView
(
this
.
user
);
}
this
.
context
.
set
(
'
activity
'
);
this
.
onScroll
();
...
...
@@ -171,6 +174,7 @@ export class ChannelComponent {
this
.
addRecent
();
}
// this.load() is only called if this.user was not previously set
this
.
clientMetaService
.
recordView
(
this
.
user
);
})
.
catch
(
e
=>
{
...
...
This diff is collapsed.
Please
register
or
sign in
to comment