fix(backend): rendering issue
This commit is contained in:
@@ -160,6 +160,11 @@ export function renderRecipe(recipe: Recipe) {
|
||||
item.unit?.trim() || ""
|
||||
}** ${item.name}`;
|
||||
}
|
||||
|
||||
if (item.quantity) {
|
||||
return `- **${item.quantity}** ${item.name}`;
|
||||
}
|
||||
|
||||
return `- ${item.name}`;
|
||||
})
|
||||
.join("\n");
|
||||
|
Reference in New Issue
Block a user