feat: added description to inventory view

This commit is contained in:
Niklas 2023-03-15 17:11:24 +01:00
parent 0dcb984a9e
commit 198ecab5ed
Signed by: Gurkengewuerz
GPG Key ID: F234534ACADF282C

View File

@ -128,7 +128,10 @@ export const InventoryFurnitureView: FC<InventoryFurnitureViewProps> = props =>
</Column>
{ selectedItem &&
<Column grow justifyContent="between" gap={ 2 }>
<Text grow truncate>{ selectedItem.name }</Text>
<Column grow gap={ 1 }>
<Text bold>{ selectedItem.name }</Text>
<Text>{ selectedItem.description }</Text>
</Column>
<Column gap={ 1 }>
{ !!roomSession &&
<Button variant="success" onClick={ event => attemptItemPlacement(selectedItem) }>