File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
projects/stream-chat-angular/src/lib/polls/poll-composer Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 8080 </ div >
8181 < ng-container formArrayName ="options ">
8282 < div class ="str-chat__form__input-fieldset__values ">
83+ <!-- eslint-disable @angular-eslint/template/use-track-by-function -->
8384 < ng-container
84- *ngFor ="
85- let option of options.controls;
86- let i = index;
87- trackBy: trackByOptionValue
88- "
85+ *ngFor ="let option of options.controls; let i = index "
8986 >
87+ <!-- eslint-enable @angular-eslint/template/use-track-by-function -->
9088 < div class ="str-chat__drag-and-drop-container__item ">
9189 < div class ="str-chat__form__input-field ">
9290 < input
Original file line number Diff line number Diff line change @@ -112,10 +112,6 @@ export class PollComposerComponent {
112112 } ;
113113 }
114114
115- trackByOptionValue ( _ : number , option : FormControl < string | null > ) {
116- return option . value ;
117- }
118-
119115 async createPoll ( ) {
120116 try {
121117 const maxVotesControl = this . formGroup . get ( 'maximum_number_of_votes' ) ;
You can’t perform that action at this time.
0 commit comments