Skip to content

Commit

Permalink
Fix iteration index when displaying changed variables
Browse files Browse the repository at this point in the history
  • Loading branch information
emontnemery committed Dec 29, 2023
1 parent dcfe961 commit d1988bf
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 d1988bf

Please sign in to comment.