Skip to content

Commit 8b8ce82

Browse files
committed
chore(*): clean up leftover
1 parent 146e0d9 commit 8b8ce82

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,8 @@ export class IgxChildGridRowComponent implements AfterViewInit, OnInit {
196196
*/
197197
public ngOnInit() {
198198
const ref = this.container.createComponent(IgxHierarchicalGridComponent, { injector: this.container.injector });
199-
const childGridData = this.data.childGridsData[this.layout.key];
200199
this.hGrid = ref.instance;
201-
this.hGrid.setDataInternal(childGridData);
200+
this.hGrid.setDataInternal(this.data.childGridsData[this.layout.key]);
202201
this.hGrid.nativeElement["__componentRef"] = ref;
203202
this.layout.layoutChange.subscribe((ch) => {
204203
this._handleLayoutChanges(ch);

0 commit comments

Comments
 (0)