refactor: 💡 sort connection_recordings by start_time (#207)
* refactor: 💡 sort connection_recordings by start_time ✅ Closes: ICU-8961 * refactor: 💡 remove ember array cast for connection_recordings * refactor: 💡 let to const
This commit is contained in:
1 parent
4c9811739c
commit
85651d4776
1 file changed
+4
@@ -33,6 +33,10 @@ export default class ScopesScopeSessionRecordingsSessionRecordingRoute extends R
|
||||
storage_bucket_id
|
||||
);
|
||||
}
|
||||
const sortedConnections = sessionRecording.connection_recordings
|
||||
.sortBy('start_time')
|
||||
.reverse();
|
||||
sessionRecording.connection_recordings = sortedConnections;
|
||||
|
||||
return {
|
||||
sessionRecording,
|
||||
|
||||
Reference in new issue
Block a user