diff --git a/src.zip b/src.zip index 035ad26..c60b16c 100644 Binary files a/src.zip and b/src.zip differ diff --git a/src/lib/components/recipes/RecipeTable.svelte b/src/lib/components/recipes/RecipeTable.svelte index 855b891..e740c79 100644 --- a/src/lib/components/recipes/RecipeTable.svelte +++ b/src/lib/components/recipes/RecipeTable.svelte @@ -13,16 +13,14 @@ -
| Name | -Ingredients | -Instructions | -Rating | -- |
|---|
| Name | +Ingredients | +Instructions | +Rating | ++ | {data.name} | {data.ingredients.length || 0} | {data.instructions.length || 0} | -{Math.round(data.rating/((data.ratingCount == 0 ) ? data.ratingCount++ : data.ratingCount))} / 5 | +{Math.round(data.rating/((data.ratingCount == 0 ) ? 1 : data.ratingCount))} / 5 | diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index cb581a9..7a4eb0e 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -79,9 +79,9 @@ |
|---|