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
dc7d1f70
Commit
dc7d1f70
authored
7 minutes ago
by
Emiliano Balbuena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fix): Feeds service getters
parent
84892778
epic/minds-pro
1 merge request
!459
WIP: (feat): Minds Pro
Pipeline
#74844758
running with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
list-modal.component.html
.../modules/pro/channel/list-modal/list-modal.component.html
+3
-3
list-modal.component.ts
...pp/modules/pro/channel/list-modal/list-modal.component.ts
+9
-1
No files found.
src/app/modules/pro/channel/list-modal/list-modal.component.html
View file @
dc7d1f70
<div
class=
"m-pro--channel-list-modal"
>
<div
class=
"m-pro--channel-list-modal--grid"
>
<ng-container
*
ngFor=
"let entity$ of (entities | async); let i = index"
>
<ng-container
*
ngFor=
"let entity$ of (entities
$
| async); let i = index"
>
<ng-container
*
ngIf=
"type === 'images' || type === 'videos' || type === 'blogs'"
>
<m-pro--channel-tile
*
ngIf=
"entity$ | async as entity"
[
entity
]="
entity
"
...
...
@@ -13,8 +13,8 @@
<infinite-scroll
distance=
"25%"
(
load
)="
loadMore
()"
[
moreData
]="
feedsService
.
hasMore
|
async
"
[
inProgress
]="
feedsService
.
inProgress
|
async
"
[
moreData
]="
hasMore
$
|
async
"
[
inProgress
]="
inProgress
$
|
async
"
[
scrollSource
]="
this
.
parent
"
></infinite-scroll>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/list-modal/list-modal.component.ts
View file @
dc7d1f70
...
...
@@ -61,10 +61,18 @@ export class ProChannelListModal {
}
}
get
entities
()
{
get
entities
$
()
{
return
this
.
feedsService
.
feed
;
}
get
hasMore$
()
{
return
this
.
feedsService
.
hasMore
;
}
get
inProgress$
()
{
return
this
.
feedsService
.
inProgress
;
}
loadMore
()
{
this
.
feedsService
.
loadMore
();
}
...
...
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