Update cookcli-recipe-strategy.js

This commit is contained in:
TheThomaas 2026-09-16 14:42:25 +02:00
parent 7749ccf32f
commit 8cf22b667a

View file

@ -249,8 +249,10 @@ class CookCliRecipeViewStrategy extends HTMLElement {
: ""; : "";
return `- ${qty ? `**${qty}** ` : ""}${item.name}`; return `- ${qty ? `**${qty}** ` : ""}${item.name}`;
}); });
if (lines !== "") {
leftCards.push({ type: "markdown", content: lines.join("\n") }); leftCards.push({ type: "markdown", content: lines.join("\n") });
} }
}
if (config.timer_entity) { if (config.timer_entity) {
for (const timer of timers) { for (const timer of timers) {