瀏覽代碼

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

master
Vlad Piersec 4 年之前
父節點
當前提交
9418dbc2b1
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      react/features/recent-list/functions.web.js

+ 1
- 1
react/features/recent-list/functions.web.js 查看文件

@@ -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,

Loading…
取消
儲存