Skip to content

Commit

Permalink
fix(material/tree): lint
Browse files Browse the repository at this point in the history
  • Loading branch information
BobobUnicorn committed Jun 14, 2023
1 parent 232fdd9 commit 1babd2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/material/tree/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,12 @@ export class MatNestedTreeNode<T, K = T>
* @breaking-change 12.0.0 Remove this input
*/
get tabIndex(): number {
return Number(this.elementRef.nativeElement.getAttribute('tabindex') ?? '-1');
return Number(this._elementRef.nativeElement.getAttribute('tabindex') ?? '-1');
}
set tabIndex(value: number) {}

constructor(
private elementRef: ElementRef<HTMLElement>,
elementRef: ElementRef<HTMLElement>,
tree: CdkTree<T, K>,
differs: IterableDiffers,
changeDetectorRef: ChangeDetectorRef,
Expand Down

0 comments on commit 1babd2e

Please sign in to comment.