Enhance RecipePreview and RecipesService with additional inventory item properties and conversion logic
This commit is contained in:
@@ -221,6 +221,8 @@ export class RecipesService {
|
||||
quantity: item.quantity,
|
||||
unit: item.unit,
|
||||
location: item.location,
|
||||
brand: item.brand || null,
|
||||
bestBeforeDate: item.bestBeforeDate || null,
|
||||
})),
|
||||
otherInventoryItems: otherUnitItems.map((item: any) => {
|
||||
// Kolla om konvertering är möjlig (samma enhetskategori)
|
||||
|
||||
Reference in New Issue
Block a user