Bläddra i källkod

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

master
Vlad Piersec 4 år sedan
förälder
incheckning
9418dbc2b1
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      react/features/recent-list/functions.web.js

+ 1
- 1
react/features/recent-list/functions.web.js Visa fil

@@ -12,7 +12,7 @@ import { parseURIString, safeDecodeURIComponent } from '../base/util';
12 12
  */
13 13
 export function toDisplayableList(recentList) {
14 14
     return (
15
-        recentList.reverse()
15
+        [ ...recentList ].reverse()
16 16
             .map(item => {
17 17
                 return {
18 18
                     date: item.date,

Laddar…
Avbryt
Spara