Add recipe deletion functionality and enhance inventory consumption details
This commit is contained in:
@@ -104,7 +104,7 @@ export default function InventoryConsumptionHistory({ id }: Props) {
|
||||
}}
|
||||
>
|
||||
<div>
|
||||
<strong>Använt:</strong> {entry.amountUsed}
|
||||
<strong>Använt:</strong> {entry.amountUsed}{entry.inventoryItem?.unit ? ` ${entry.inventoryItem.unit}` : ''}
|
||||
</div>
|
||||
<div>
|
||||
<strong>Tid:</strong> {formatDateTime(entry.createdAt)}
|
||||
|
||||
Reference in New Issue
Block a user