Commit 86ce5627 authored by Brian Hatchet's avatar Brian Hatchet :speech_balloon:

Trying skipself

1 merge request!469(WIP) Fix/comments media gallery 1601
Pipeline #74780330 passed with stages
in 46 minutes and 12 seconds
......@@ -8,7 +8,8 @@ import {
ChangeDetectorRef,
ComponentRef,
ElementRef,
Injector
Injector,
SkipSelf
} from '@angular/core';
import { DynamicHostDirective } from '../../directives/dynamic-host.directive';
......@@ -20,7 +21,7 @@ import { ImageCard } from '../../../modules/legacy/components/cards/object/image
import { VideoCard } from '../../../modules/legacy/components/cards/object/video/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 { CommentComponentV2 } from '../../../modules/comments/comment/comment.component';
@Component({
selector: 'minds-card',
......@@ -45,7 +46,8 @@ export class MindsCard implements AfterViewInit {
constructor(
private _componentFactoryResolver: ComponentFactoryResolver,
private _injector: Injector
@SkipSelf() 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