From 124f2de770f5abc12574daa8a4b80a4fbb1a7100 Mon Sep 17 00:00:00 2001 From: june Date: Wed, 13 Aug 2025 23:54:15 +1200 Subject: [PATCH] Add checklist for ingredients --- .../Detail/IngredientTableView.astro | 32 ++++++++++++++++--- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/src/components/Detail/IngredientTableView.astro b/src/components/Detail/IngredientTableView.astro index 5ee0c05..0f2b8c8 100644 --- a/src/components/Detail/IngredientTableView.astro +++ b/src/components/Detail/IngredientTableView.astro @@ -19,7 +19,7 @@ const tableView = true )} {tableView && ( - +
@@ -29,9 +29,9 @@ const tableView = true { - ingredients.map(ing => ( + ingredients.map((ing, index) => ( <> - + @@ -41,4 +41,28 @@ const tableView = true }
Quantity
{ing.quantity} {ing.unit} {ing.name}
-)} \ No newline at end of file +)} + + + + \ No newline at end of file