File tree Expand file tree Collapse file tree
PocketDDD.BlazorClient/PocketDDD.BlazorClient/Features/Home/Store Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- using PocketDDD . BlazorClient . Features . Sync . Store ;
2- using PocketDDD . Shared . API . ResponseDTOs ;
1+ using PocketDDD . Shared . API . ResponseDTOs ;
32using System . Collections . Immutable ;
4- using System . Runtime . CompilerServices ;
53
64namespace PocketDDD . BlazorClient . Features . Home . Store ;
75
@@ -24,6 +22,10 @@ public static IImmutableList<TimeSlot> ToHomeStateModel(this EventDataResponseDT
2422 TrackName = eventData . Tracks . Single ( tr => tr . Id == s . TrackId ) . Name ,
2523 RoomName = eventData . Tracks . Single ( tr => tr . Id == s . TrackId ) . RoomName ,
2624 IsBookmarked = sessionBookmarks . Contains ( s . Id )
27- } ) . ToImmutableList ( )
28- } ) . ToImmutableList ( ) ;
25+ } )
26+ . OrderBy ( s => s . TrackName )
27+ . ToImmutableList ( )
28+ } )
29+ . OrderBy ( ts => ts . From )
30+ . ToImmutableList ( ) ;
2931}
You can’t perform that action at this time.
0 commit comments