File tree Expand file tree Collapse file tree 6 files changed +17
-17
lines changed
Expand file tree Collapse file tree 6 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 370370
371371 {#if focussed && value && match }
372372 <div class =" help-dropdown" >
373- {#each match .categories as category , idx }
373+ {#each match .categories as category , idx ( category ) }
374374 {#if idx > 0 }
375375 <hr />
376376 {/if }
Original file line number Diff line number Diff line change 179179 />
180180 {/if }
181181
182- {#each labels as { name, color } }
182+ {#each labels as label ( label . name ) }
183183 <Tag
184184 clazz =" tag label"
185- color ="# { color }"
186- name ={ name }
187- title ={ name }
188- onclick ={ handleSelection (' label' , name ) }
185+ color ="# { label . color }"
186+ name ={ label . name }
187+ title ={ label . name }
188+ onclick ={ handleSelection (' label' , label . name ) }
189189 />
190190 {/each }
191191
200200
201201 {#if shownLinks .length }
202202 <div class =" board-card-links embedded" >
203- {#each shownLinks as link }
203+ {#each shownLinks as link ( link ) }
204204 <CardLink item ={ link .target } type ={ link .type } ref ={ link .ref } onSelect ={ onSelect } />
205205 {/each }
206206 </div >
211211
212212 {#if prLinks .length }
213213 <div class =" board-card-links attached" >
214- {#each prLinks as link }
214+ {#each prLinks as link ( link ) }
215215 <CardLink item ={ link .target } type ={ link .type } ref ={ link .ref } onSelect ={ onSelect }>
216216 <CardStatus item ={ link .target } />
217217 </CardLink >
Original file line number Diff line number Diff line change 1818{#if check_runs .length || statuses .length }
1919 <div class =" card-status" >
2020
21- {#each check_runs as check_run }
21+ {#each check_runs as check_run ( check_run ) }
2222 <a
2323 class =" state"
2424 class:success ={ check_run .conclusion === ' success' || check_run .status === ' in_progress' }
3232 ><span >{check_run .name } — {check_run_result_map [check_run .conclusion ] || check_run_result_map [check_run .status ] }</span ></a >
3333 {/each }
3434
35- {#each statuses as status }
35+ {#each statuses as status ( status ) }
3636 <a
3737 class =" state"
3838 class:success ={ status .state === ' success' || status .state === ' pending' }
Original file line number Diff line number Diff line change 8181 }
8282 </script >
8383
84- {#each requested_reviewers as reviewer }
84+ {#each requested_reviewers as reviewer ( reviewer ) }
8585 <a
8686 class =" assignee requested-reviewer"
8787 title =" { reviewer .login } requested for review"
9494 </a >
9595{/each }
9696
97- {#each reviews as review }
97+ {#each reviews as review ( review ) }
9898 <a
9999 class =" assignee reviewer"
100100 class:approved ={ review .state === ' approved' }
111111 </a >
112112{/each }
113113
114- {#each assignees as assignee }
114+ {#each assignees as assignee ( assignee . login ) }
115115 <a
116116 class =" assignee"
117117 title =" { assignee .login } assigned"
Original file line number Diff line number Diff line change 827827
828828 <Notifications >
829829 {#if ! error }
830- {#each warnings as warning }
830+ {#each warnings as warning ( warning ) }
831831 <Notification type ="warning" message =" { warning .action } failed" >
832832 Could not reach the board back-end. <a href >Reload board.</a >
833833 </Notification >
863863 value ={ filter }
864864 completionOptions ={ filterOptions }
865865 onChange ={ filterChanged }
866- placeholder ={ ' Filter board...' }
866+ placeholder =" Filter board..."
867867 />
868868 </form >
869869
894894 <main class =" taskboard-board scroll-container-h" >
895895
896896 {#if ! error }
897- {#each columns as column }
897+ {#each columns as column ( column . name ) }
898898 <div class ="taskboard-column" class:collapsed ={ collapsed [column .name ] }>
899899 <div class =" taskboard-column-header" >
900900 <button
Original file line number Diff line number Diff line change 4949 onmousedown ={ (e ) => handleMousedown (e , hint ) }
5050 onclick ={ (e ) => e .preventDefault () || handleMousedown (e , hint ) }
5151 href
52- >{#each hint .parts as part }<span class:matched ={ part .matched }>{ part .text }</span >{/each }</a >
52+ >{#each hint .parts as part ( part . text ) }<span class:matched ={ part .matched }>{ part .text }</span >{/each }</a >
5353 </li >
5454 {/each }
5555</ul >
You can’t perform that action at this time.
0 commit comments