[Client] Improve featured notes page
This commit is contained in:
@ -38,6 +38,7 @@ export default Vue.extend({
|
||||
this.$root.api('notes/featured', {
|
||||
limit: 20
|
||||
}).then(notes => {
|
||||
notes.sort((a, b) => new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime());
|
||||
this.notes = notes;
|
||||
this.fetching = false;
|
||||
|
||||
|
Reference in New Issue
Block a user