From a1ecac5cb841bbd584124fc8967b67bcbdcbd376 Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Thu, 24 Sep 2026 16:24:27 +0200 Subject: [PATCH] Update cookcli-recipe-strategy.js --- custom_components/cookcli/www/cookcli-recipe-strategy.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_components/cookcli/www/cookcli-recipe-strategy.js b/custom_components/cookcli/www/cookcli-recipe-strategy.js index f58f8de..4a9f538 100644 --- a/custom_components/cookcli/www/cookcli-recipe-strategy.js +++ b/custom_components/cookcli/www/cookcli-recipe-strategy.js @@ -343,6 +343,7 @@ class CookCliRecipeViewStrategy extends HTMLElement { if (ingredients.length) { rightCards.push({ type: "custom:cookcli-checklist-card", + title: "Ingrédients", // État coché propre à cette recette, indépendant de celui des étapes. storage_key: `${config.path}:summary`, items: ingredients.map((ingredient) => { @@ -393,6 +394,7 @@ class CookCliRecipeViewStrategy extends HTMLElement { if (stepIngredients.length) { leftCards.push({ type: "custom:cookcli-checklist-card", + title: "Ingrédients", // recette + étape : l'état coché est propre à chaque étape de chaque recette storage_key: `${config.path}:${tabIndex}`, items: stepIngredients.map((item) => ({