Skip to content

Commit

Permalink
Use {{#each}} key to provide component stability for `AiAssistantPa…
Browse files Browse the repository at this point in the history
…stSessionsList`
  • Loading branch information
habdelra committed Nov 13, 2024
1 parent a7d4a87 commit 90aea70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const AiAssistantPastSessionsList: TemplateOnlyComponent<Signature> = <template>
<:body>
{{#if @sessions}}
<ul class='past-sessions'>
{{#each @sessions as |session|}}
{{#each @sessions key='roomId' as |session|}}
<PastSessionItem @session={{session}} @actions={{@roomActions}} />
{{/each}}
</ul>
Expand Down

0 comments on commit 90aea70

Please sign in to comment.