Skip to content
Next
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
803
Merge Requests
51
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
e56f318f
Commit
e56f318f
authored
45 minutes ago
by
Mark Harding
Browse files
Options
Download
(feat): adds engagement tab to analytics
parent
f03e30f6
master
No related merge requests found
Pipeline
#93513319
running with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
src/app/common/components/sidebar-menu/categories.default.ts
View file @
e56f318f
...
...
@@ -22,11 +22,11 @@ const sidebarMenuCategories = [
label
:
'
Earnings
'
,
permissions
:
[
'
admin
'
,
'
user
'
],
},
//
{
//
id: 'engagement',
//
label: 'Engagement',
//
permissions: ['admin', 'user'],
//
},
{
id
:
'
engagement
'
,
label
:
'
Engagement
'
,
permissions
:
[
'
admin
'
,
'
user
'
],
},
{
id
:
'
trending
'
,
label
:
'
Trending
'
,
...
...
This diff is collapsed.
src/app/modules/analytics/v2/components/filters/filters.component.ts
View file @
e56f318f
...
...
@@ -27,7 +27,7 @@ export class AnalyticsFiltersComponent implements OnInit, OnDestroy {
ngOnInit
()
{
// TODO: remove all of this once channel search is ready
// Temporarily remove channel search from channel filter options
this
.
analyticsService
.
filters$
.
subscribe
(
filters
=>
{
this
.
subscription
=
this
.
analyticsService
.
filters$
.
subscribe
(
filters
=>
{
this
.
filters
=
filters
;
const
channelFilter
=
filters
.
find
(
filter
=>
filter
.
id
===
'
channel
'
);
...
...
@@ -49,5 +49,7 @@ export class AnalyticsFiltersComponent implements OnInit, OnDestroy {
this
.
cd
.
detectChanges
();
}
ngOnDestroy
()
{}
ngOnDestroy
()
{
this
.
subscription
.
unsubscribe
();
}
}
This diff is collapsed.
Please
register
or
sign in
to comment