small tweaks
This commit is contained in:
@@ -10,7 +10,7 @@ function renderStepText(items, allIngredients, cookware, timers) {
|
|||||||
return item.value;
|
return item.value;
|
||||||
} else if (item.type === 'ingredient') {
|
} else if (item.type === 'ingredient') {
|
||||||
const ing = allIngredients[item.index];
|
const ing = allIngredients[item.index];
|
||||||
return `${ing.quantity.value.value} ${ing.unit || ''} ${ing.name}`.trim();
|
return `${ing.name}`.trim();
|
||||||
} else if (item.type === 'cookware') {
|
} else if (item.type === 'cookware') {
|
||||||
return cookware[item.index].name;
|
return cookware[item.index].name;
|
||||||
} else if (item.type === 'timer') {
|
} else if (item.type === 'timer') {
|
||||||
|
|||||||
Reference in New Issue
Block a user