Skip to content

Commit

Permalink
Fix iteration index when displaying changed variables (#19184)
Browse files Browse the repository at this point in the history
  • Loading branch information
emontnemery authored Dec 30, 2023
1 parent c95a30c commit 7e6d974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/trace/ha-trace-path-details.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export class HaTracePathDetails extends LitElement {
<div class="padded-box">
${data.map(
(trace, idx) => html`
${idx > 0
${data.length > 1
? html`<p>
${this.hass!.localize(
"ui.panel.config.automation.trace.path.iteration",
Expand Down

0 comments on commit 7e6d974

Please sign in to comment.