fix(recents-list): Order recents by last used
This commit is contained in:
parent
19bf027b8b
commit
9418dbc2b1
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue