File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/components/MigrationDetails Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -240,8 +240,8 @@ function Table({ details }) {
240
240
function Row ( { children } ) {
241
241
const [ collapsed , setState ] = useState ( true ) ;
242
242
const { feedstock, name, status } = children ;
243
- const immediate = feedstock [ "immediate_children" ] || [ ] ;
244
- const num_descendants = feedstock [ "num_descendants" ] ;
243
+ const immediate_children = feedstock [ "immediate_children" ] || [ ] ;
244
+ const total_children = feedstock [ "num_descendants" ] ;
245
245
const href = feedstock [ "pr_url" ] ;
246
246
const details = feedstock [ "pre_pr_migrator_status" ] ;
247
247
return ( < >
@@ -258,14 +258,14 @@ function Row({ children }) {
258
258
< span > { name } </ span > )
259
259
) }
260
260
</ td >
261
- < td > { TITLES [ status ] } </ td >
262
- < td style = { { textAlign : "center" } } > { num_descendants || null } </ td >
261
+ < td style = { { textAlign : "center" } } > { TITLES [ status ] } </ td >
262
+ < td style = { { textAlign : "center" } } > { total_children || null } </ td >
263
263
< td >
264
- { immediate . map ( ( name , index ) => ( < React . Fragment key = { index } >
264
+ { immediate_children . map ( ( name , index ) => ( < React . Fragment key = { index } >
265
265
< span
266
266
style = { { marginBottom : 1 } }
267
267
className = "badge badge--secondary" > { name } </ span >
268
- { immediate . length - 1 === index ? "" : " " }
268
+ { immediate_children . length - 1 === index ? "" : " " }
269
269
</ React . Fragment > ) ) }
270
270
</ td >
271
271
</ tr >
You can’t perform that action at this time.
0 commit comments