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

This commit is contained in:
Vlad Piersec 2021-01-29 14:24:17 +02:00 committed by vp8x8
parent 19bf027b8b
commit 9418dbc2b1
1 changed files with 1 additions and 1 deletions

View File

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