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
864
Issues
864
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
dd17b1a8
Commit
dd17b1a8
authored
9 minutes ago
by
Emiliano Balbuena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fix): Feed fixes
parent
487a9ad3
epic/minds-pro
1 merge request
!459
WIP: (feat): Minds Pro
Pipeline
#74853934
running with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
list-modal.component.ts
...pp/modules/pro/channel/list-modal/list-modal.component.ts
+1
-1
list.component.ts
src/app/modules/pro/channel/list/list.component.ts
+4
-3
No files found.
src/app/modules/pro/channel/list-modal/list-modal.component.ts
View file @
dd17b1a8
...
...
@@ -9,7 +9,7 @@ import { OverlayModalComponent } from '../../../../common/components/overlay-mod
selector
:
'
m-pro--channel-list-modal
'
,
changeDetection
:
ChangeDetectionStrategy
.
OnPush
,
templateUrl
:
'
list-modal.component.html
'
,
providers
:
[
OverlayModalService
],
providers
:
[
FeedsService
,
OverlayModalService
],
})
export
class
ProChannelListModal
{
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/list/list.component.ts
View file @
dd17b1a8
...
...
@@ -12,6 +12,7 @@ import { ProChannelListModal } from '../list-modal/list-modal.component';
selector
:
'
m-pro--channel-list
'
,
templateUrl
:
'
list.component.html
'
,
changeDetection
:
ChangeDetectionStrategy
.
OnPush
,
providers
:
[
FeedsService
],
})
export
class
ProChannelListComponent
implements
OnInit
,
OnDestroy
{
...
...
@@ -83,9 +84,9 @@ export class ProChannelListComponent implements OnInit, OnDestroy {
this
.
entities
.
push
(
await
entity
.
pipe
(
first
()).
toPromise
());
}
if
(
this
.
entities
.
length
>=
9
)
{
if
(
this
.
entities
.
length
>=
10
)
{
this
.
displaySeeMoreTile
=
true
;
this
.
entities
=
this
.
entities
.
slice
(
0
,
8
);
this
.
entities
=
this
.
entities
.
slice
(
0
,
9
);
}
this
.
detectChanges
();
...
...
@@ -114,7 +115,7 @@ export class ProChannelListComponent implements OnInit, OnDestroy {
try
{
this
.
feedsService
.
setEndpoint
(
`api/v2/feeds/channel/
${
this
.
channelService
.
currentChannel
.
guid
}
/
${
this
.
type
}
/
${
this
.
algorithm
}${
search
}
`
)
.
setLimit
(
9
)
.
setLimit
(
10
)
.
fetch
();
}
catch
(
e
)
{
...
...
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