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) {
|
export function toDisplayableList(recentList) {
|
||||||
return (
|
return (
|
||||||
recentList.reverse()
|
[ ...recentList ].reverse()
|
||||||
.map(item => {
|
.map(item => {
|
||||||
return {
|
return {
|
||||||
date: item.date,
|
date: item.date,
|
||||||
|
|
Loading…
Reference in New Issue