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
348
Merge Requests
56
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
3a92f989
Commit
3a92f989
authored
59 minutes ago
by
Emiliano Balbuena
Browse files
Options
Download
(chore): Add feature flag
parent
a8729b07
epic/modal-pager
1 merge request
!716
WIP: Modal pager
Pipeline
#108231635
passed with stages
in 41 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/app/modules/media/modal/modal.component.ts
View file @
3a92f989
...
...
@@ -131,6 +131,7 @@ export class MediaModalComponent implements OnInit, OnDestroy {
private
clientMetaService
:
ClientMetaService
,
private
featureService
:
FeaturesService
,
private
horizontalFeed
:
HorizontalFeedService
,
private
features
:
FeaturesService
,
@
SkipSelf
()
injector
:
Injector
)
{
this
.
clientMetaService
...
...
@@ -219,6 +220,10 @@ export class MediaModalComponent implements OnInit, OnDestroy {
}
async
setNeighborEntities
()
{
if
(
!
this
.
features
.
has
(
'
modal-pager
'
))
{
return
;
}
const
{
prev
,
next
}
=
await
this
.
horizontalFeed
.
get
(
'
container
'
,
this
.
entity
...
...
This diff is collapsed.
Please
register
or
sign in
to comment