From 7414183c4d3d663669c95577e5dc579e3ed31a9c Mon Sep 17 00:00:00 2001 From: sualko Date: Wed, 4 Aug 2021 16:53:47 +0200 Subject: [PATCH] fix(ui): sort recordings by date fix #174 --- ts/Manager/RoomRow.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/Manager/RoomRow.tsx b/ts/Manager/RoomRow.tsx index ba1bd15..abf2cdc 100644 --- a/ts/Manager/RoomRow.tsx +++ b/ts/Manager/RoomRow.tsx @@ -235,7 +235,7 @@ const RoomRow: React.FC = (props) => { - {recordings?.map(recording => )} + {recordings?.sort((r1, r2) => r1.startTime - r2.startTime).map(recording => )}