diff --git a/src/components/items_list.rs b/src/components/items_list.rs index 1e8a754..ac1d6e5 100644 --- a/src/components/items_list.rs +++ b/src/components/items_list.rs @@ -506,9 +506,9 @@ pub fn ItemsList( <thead> <tr> <th>{ "Property" }</th> - {move || items.get().iter().enumerate().map(|(index, _)| { + {move || items.get().iter().enumerate().map(|(index, item)| { view! { - <th>{ format!("Item {}", index + 1) }</th> + <th>{ item.name.clone() }</th> } }).collect::<Vec<_>>()} </tr>