Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Dependency List
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
842
Issues
842
List
Boards
Labels
Service Desk
Milestones
Merge Requests
43
Merge Requests
43
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
b9544544
Commit
b9544544
authored
3 minutes ago
by
Juan Manuel Solaro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fix) use class getter instead of protected property to get username
parent
27d976b3
epic/minds-pro
1 merge request
!459
WIP: (feat): Minds Pro
Pipeline
#74017849
running with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
list.component.html
src/app/modules/pro/channel/list/list.component.html
+3
-3
list.component.ts
src/app/modules/pro/channel/list/list.component.ts
+4
-0
No files found.
src/app/modules/pro/channel/list/list.component.html
View file @
b9544544
...
...
@@ -8,17 +8,17 @@
</h1>
<div
class=
"m-proChannelList__algorithm"
>
<a
[
routerLink
]="['/
pro
',
channel
Service
.
currentChannel
.
u
sername
,
getTypeForRoute
(
type
),
'
hot
']"
routerLinkActive=
"active"
i18n
>
<a
[
routerLink
]="['/
pro
',
channel
U
sername
,
getTypeForRoute
(
type
),
'
hot
']"
routerLinkActive=
"active"
i18n
>
<i
class=
"material-icons"
>
whatshot
</i>
<span
i18n
>
HOT
</span>
</a>
<a
[
routerLink
]="['/
pro
',
channel
Service
.
currentChannel
.
u
sername
,
getTypeForRoute
(
type
),
'
top
']"
routerLinkActive=
"active"
i18n
>
<a
[
routerLink
]="['/
pro
',
channel
U
sername
,
getTypeForRoute
(
type
),
'
top
']"
routerLinkActive=
"active"
i18n
>
<i
class=
"material-icons"
>
trending_up
</i>
<span
i18n
>
TOP
</span>
</a>
<a
[
routerLink
]="['/
pro
',
channel
Service
.
currentChannel
.
u
sername
,
getTypeForRoute
(
type
),
'
latest
']"
routerLinkActive=
"active"
i18n
>
<a
[
routerLink
]="['/
pro
',
channel
U
sername
,
getTypeForRoute
(
type
),
'
latest
']"
routerLinkActive=
"active"
i18n
>
<i
class=
"material-icons"
>
timelapse
</i>
<span
i18n
>
LATEST
</span>
</a>
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/list/list.component.ts
View file @
b9544544
...
...
@@ -105,6 +105,10 @@ export class ProChannelListComponent implements OnInit {
return
[
'
/
'
,
this
.
channelService
.
currentChannel
.
username
];
}
get
channelUsername
()
{
return
this
.
channelService
.
currentChannel
.
username
}
/**
* Returns the feed type on par to routes
* @param type feed type
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment