Commit 676c6f3a authored by Emiliano Balbuena's avatar Emiliano Balbuena

(fix): Provide activity service on blog cards

1 merge request!469(WIP) Fix/comments media gallery 1601
Pipeline #75466240 running with stages
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment