Skip to content

Commit 9f5b84a

Browse files
committed
fix review comment
1 parent e716dd7 commit 9f5b84a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/structured-list/list-row.component.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,7 @@ export class ListRow implements AfterContentInit {
6161
@Input() @HostBinding("class.bx--structured-list-row--selected")
6262
set selected(value: boolean) {
6363
if (!this.input) { return; }
64-
if (value) {
65-
this.input.nativeElement.checked = true;
66-
} else {
67-
this.input.nativeElement.checked = null;
68-
}
64+
this.input.nativeElement.checked = value ? true : null;
6965
}
7066

7167
get selected() {

0 commit comments

Comments
 (0)