Update cookcli-recipe-strategy.js
This commit is contained in:
parent
6428797de7
commit
b5e39bb43a
5
dist/cookcli-recipe-strategy.js
vendored
5
dist/cookcli-recipe-strategy.js
vendored
|
|
@ -171,8 +171,7 @@ class CookCliRecipeViewStrategy extends HTMLElement {
|
|||
}
|
||||
|
||||
return {
|
||||
// title: recipe.title || "Recette",
|
||||
title: "Recette",
|
||||
title: recipe.title || "Recette",
|
||||
panel: true,
|
||||
cards: [tabdeckCard],
|
||||
};
|
||||
|
|
@ -208,7 +207,7 @@ class CookCliRecipeViewStrategy extends HTMLElement {
|
|||
|
||||
static _summaryTab(recipe, config, stepCount) {
|
||||
let content = "";
|
||||
if (recipe.image_url) content += `\n\n`;
|
||||
if (recipe.image_url) content += `\n\n`;
|
||||
content += `## ${recipe.title || ""}\n`;
|
||||
if (recipe.cookware && recipe.cookware.length) {
|
||||
content += `\n**Ustensiles** : ${recipe.cookware.map((c) => c.name).join(", ")}\n`;
|
||||
|
|
|
|||
Reference in a new issue