Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(recents-list): Order recents by last used

Vlad Piersec9418dbc2b1bd
diff --git a/react/features/recent-list/functions.web.js b/react/features/recent-list/functions.web.js
index 1c8a67d6e1..19e0208711 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,