diff --git a/custom_components/cookcli/www/cookcli-card.js b/custom_components/cookcli/www/cookcli-card.js index 19ffea3..694172a 100644 --- a/custom_components/cookcli/www/cookcli-card.js +++ b/custom_components/cookcli/www/cookcli-card.js @@ -645,6 +645,7 @@ class CookCliCardEditor extends HTMLElement { * type: custom:cookcli-checklist-card * storage_key: chocolat-chaud.cook:2 * items: [{ quantity: "200 ml", name: "lait" }, ...] + * title: Ingrédients # optionnel */ class CookCliChecklistCard extends HTMLElement { setConfig(config) { @@ -739,6 +740,13 @@ class CookCliChecklistCard extends HTMLElement { this.shadowRoot.innerHTML = ` + ${this._config.title ? `
${this._escape(this._config.title)}
` : ""} ${rows}