Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
868
Issues
868
List
Boards
Labels
Service Desk
Milestones
Merge Requests
49
Merge Requests
49
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
dd16f684
Commit
dd16f684
authored
25 minutes ago
by
Emiliano Balbuena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fix): Inject on featured-content component
parent
edc7bc92
fix/comments-media-gallery-1601
1 merge request
!469
(WIP) Fix/comments media gallery 1601
Pipeline
#75463503
running with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
featured-content.component.ts
...components/featured-content/featured-content.component.ts
+2
-2
No files found.
src/app/common/components/featured-content/featured-content.component.ts
View file @
dd16f684
...
...
@@ -34,7 +34,7 @@ export class FeaturedContentComponent implements OnInit {
protected
componentFactoryResolver
:
ComponentFactoryResolver
,
protected
cd
:
ChangeDetectorRef
,
protected
clientMetaService
:
ClientMetaService
,
@
SkipSelf
()
injector
:
Injector
,
@
SkipSelf
()
protected
injector
:
Injector
,
)
{
this
.
clientMetaService
.
inherit
(
injector
)
...
...
@@ -76,7 +76,7 @@ export class FeaturedContentComponent implements OnInit {
if
(
component
)
{
const
componentFactory
=
this
.
componentFactoryResolver
.
resolveComponentFactory
(
component
);
const
componentRef
:
ComponentRef
<
any
>
=
this
.
dynamicHost
.
viewContainerRef
.
createComponent
(
componentFactory
);
const
componentRef
:
ComponentRef
<
any
>
=
this
.
dynamicHost
.
viewContainerRef
.
createComponent
(
componentFactory
,
void
0
,
this
.
injector
);
injector
.
call
(
this
,
componentRef
,
this
.
entity
);
}
}
...
...
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