Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
[NG] fix index for radios and rows to be consistent (#2645)
Browse files Browse the repository at this point in the history
fixes #2644

Signed-off-by: Jeremy Wilken <[email protected]>
  • Loading branch information
gnomeontherun authored Sep 12, 2018
1 parent f86a569 commit a3df444
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/clr-angular/data/datagrid/datagrid-row.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,9 @@ export class ClrDatagridRow<T = any> implements AfterContentInit {
public hideableColumnService: HideableColumnService,
public commonStrings: ClrCommonStrings
) {
this.id = 'clr-dg-row' + nbRow++;
this.radioId = 'clr-dg-row-rd' + nbRow++;
nbRow++;
this.id = 'clr-dg-row' + nbRow;
this.radioId = 'clr-dg-row-rd' + nbRow;
}

private _selected = false;
Expand Down

0 comments on commit a3df444

Please sign in to comment.