Skip to content

Commit 8c546f5

Browse files
Fix: mobile sessions lazyload pitfall (#8675) (#8721)
Co-authored-by: cweitat <[email protected]>
1 parent 4dd82eb commit 8c546f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/templates/public/sessions.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
{{/if}}
8888
<div class="mt-8">
8989
{{#if this.model.session}}
90-
{{#each this.groupByDateSessions as |group|}}
90+
{{#each this.groupByDateSessions key="date" as |group|}}
9191
<h3 class="ui header {{if this.device.isMobile 'mb--8' 'mb--4'}}">
9292
{{#if (not-eq group.date "Invalid date")}}
9393
{{group.date}}
@@ -103,7 +103,7 @@
103103
</tr>
104104
</thead>
105105
<tbody>
106-
{{#each group.sessions as |session|}}
106+
{{#each group.sessions key="createdAt" as |session|}}
107107
<tr>
108108
<td class="top aligned {{unless this.device.isMobile 'centered text'}}" style="border-top: none;">
109109
<h4 class="ui header {{unless this.device.isMobile 'pt-4'}}">

0 commit comments

Comments
 (0)