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
676c6f3a
Commit
676c6f3a
authored
6 minutes ago
by
Emiliano Balbuena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fix): Provide activity service on blog cards
parent
dd16f684
fix/comments-media-gallery-1601
1 merge request
!469
(WIP) Fix/comments media gallery 1601
Pipeline
#75466240
running with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
card.component.ts
src/app/common/components/card/card.component.ts
+4
-3
No files found.
src/app/common/components/card/card.component.ts
View file @
676c6f3a
...
...
@@ -22,12 +22,14 @@ import { VideoCard } from '../../../modules/legacy/components/cards/object/video
import
{
AlbumCard
}
from
'
../../../modules/legacy/components/cards/object/album/album
'
;
import
{
BlogCard
}
from
'
../../../modules/blogs/card/card
'
;
import
{
CommentComponentV2
}
from
'
../../../modules/comments/comment/comment.component
'
;
import
{
ActivityService
}
from
'
../../services/activity.service
'
;
@
Component
({
selector
:
'
minds-card
'
,
template
:
`
<ng-template dynamic-host></ng-template>
`
`
,
providers
:
[
ActivityService
],
})
export
class
MindsCard
implements
AfterViewInit
{
@
ViewChild
(
DynamicHostDirective
,
{
static
:
true
})
cardHost
:
DynamicHostDirective
;
...
...
@@ -46,8 +48,7 @@ export class MindsCard implements AfterViewInit {
constructor
(
private
_componentFactoryResolver
:
ComponentFactoryResolver
,
@
SkipSelf
()
private
_injector
:
Injector
private
_injector
:
Injector
)
{
}
@
Input
(
'
object
'
)
set
_object
(
value
:
any
)
{
...
...
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