Update cookcli-recipe-strategy.js

This commit is contained in:
TheThomaas 2026-09-16 14:44:32 +02:00
parent 8cf22b667a
commit 3ab65d2a17

View file

@ -249,7 +249,7 @@ class CookCliRecipeViewStrategy extends HTMLElement {
: "";
return `- ${qty ? `**${qty}** ` : ""}${item.name}`;
});
if (lines !== "") {
if (lines.trim() !== "") {
leftCards.push({ type: "markdown", content: lines.join("\n") });
}
}