We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d706a53 commit afbe439Copy full SHA for afbe439
browser/main/NoteList/index.js
@@ -1144,12 +1144,12 @@ class NoteList extends React.Component {
1144
const sortedNotes = location.pathname.match(/\/starred|\/trash/)
1145
? this.getNotes().sort(sortFunc)
1146
: this.sortByPin(this.getNotes().sort(sortFunc))
1147
- if (sortDir === 'DESCENDING') sortedNotes.reverse()
1148
this.notes = notes = sortedNotes.filter(note => {
1149
// this is for the trash box
1150
if (note.isTrashed !== true || location.pathname === '/trashed')
1151
return true
1152
})
+ if (sortDir === 'DESCENDING') this.notes.reverse()
1153
1154
moment.updateLocale('en', {
1155
relativeTime: {
0 commit comments