Update cookcli-recipe-strategy.js
This commit is contained in:
parent
8cf22b667a
commit
3ab65d2a17
2
dist/cookcli-recipe-strategy.js
vendored
2
dist/cookcli-recipe-strategy.js
vendored
|
|
@ -249,7 +249,7 @@ class CookCliRecipeViewStrategy extends HTMLElement {
|
||||||
: "";
|
: "";
|
||||||
return `- ${qty ? `**${qty}** ` : ""}${item.name}`;
|
return `- ${qty ? `**${qty}** ` : ""}${item.name}`;
|
||||||
});
|
});
|
||||||
if (lines !== "") {
|
if (lines.trim() !== "") {
|
||||||
leftCards.push({ type: "markdown", content: lines.join("\n") });
|
leftCards.push({ type: "markdown", content: lines.join("\n") });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue