From 9418dbc2b1bdb0ee24009bba5deeda587d93eaf9 Mon Sep 17 00:00:00 2001 From: Vlad Piersec Date: Fri, 29 Jan 2021 14:24:17 +0200 Subject: [PATCH] fix(recents-list): Order recents by last used --- react/features/recent-list/functions.web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/recent-list/functions.web.js b/react/features/recent-list/functions.web.js index 1c8a67d6e..19e020871 100644 --- a/react/features/recent-list/functions.web.js +++ b/react/features/recent-list/functions.web.js @@ -12,7 +12,7 @@ import { parseURIString, safeDecodeURIComponent } from '../base/util'; */ export function toDisplayableList(recentList) { return ( - recentList.reverse() + [ ...recentList ].reverse() .map(item => { return { date: item.date,