From c98fcfe26ad3d28118685c57e0d034e7c735ac7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Mon, 8 May 2023 08:53:39 +0200 Subject: [PATCH] WIP --- rust/src/components/inventory.rs | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/rust/src/components/inventory.rs b/rust/src/components/inventory.rs index 9de4485..8eeeb93 100644 --- a/rust/src/components/inventory.rs +++ b/rust/src/components/inventory.rs @@ -196,7 +196,6 @@ impl InventoryItemList { "border", "w-full", ]> - "Name" @@ -205,9 +204,19 @@ impl InventoryItemList { {items.iter().map(|item| html!( - - + + + {text!(item.name.clone())} + + + + {text!(item.weight.to_string())} ))}