Skip to content

Commit f510c87

Browse files
committed
test(hgrid): adding forwardRef to cyclical ref
1 parent b67e188 commit f510c87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/grids/hierarchical-grid/row-island.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
ContentChildren,
1111
ElementRef,
1212
EventEmitter,
13+
forwardRef,
1314
Inject,
1415
Injector,
1516
Input,
@@ -79,7 +80,7 @@ export class IgxRowIslandComponent extends IgxHierarchicalGridBaseDirective
7980
/**
8081
* @hidden
8182
*/
82-
@ContentChildren(IgxRowIslandComponent, { read: IgxRowIslandComponent, descendants: false })
83+
@ContentChildren(forwardRef(() => IgxRowIslandComponent), { read: IgxRowIslandComponent, descendants: false })
8384
public children = new QueryList<IgxRowIslandComponent>();
8485

8586
/**

projects/igniteui-angular/src/test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
} from '@angular/platform-browser-dynamic/testing';
1111
import { registerLocaleData } from '@angular/common';
1212

13-
1413
import localeFr from '@angular/common/locales/fr';
1514
import localeDe from '@angular/common/locales/de';
1615
import localeJa from '@angular/common/locales/ja';

0 commit comments

Comments
 (0)