Skip to content

Commit 469e4c5

Browse files
committed
Fix review comment
1 parent 78b2049 commit 469e4c5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/radio/radio-group.component.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,7 @@ export class RadioGroup implements OnInit, AfterContentInit, ControlValueAccesso
309309
*/
310310
updateRadioNames() {
311311
if (this.radios) {
312-
this.radios.forEach(radio => {
313-
radio.name = this.name;
314-
});
312+
this.radios.forEach(radio => radio.name = this.name);
315313
}
316314
}
317315

0 commit comments

Comments
 (0)