diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-02-17 00:28:41 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-02-17 00:28:41 +0900 |
| commit | 562bb5842b5737ef7eb71069899e01a263c4f4d8 (patch) | |
| tree | 0fe9739b9eb854688a7ecbc8309a22c51d90248d /src/client/app/mobile | |
| parent | ミュートワードで正規表現を使えるように (diff) | |
| download | misskey-562bb5842b5737ef7eb71069899e01a263c4f4d8.tar.gz misskey-562bb5842b5737ef7eb71069899e01a263c4f4d8.tar.bz2 misskey-562bb5842b5737ef7eb71069899e01a263c4f4d8.zip | |
[Client] Improve featured notes page
Diffstat (limited to 'src/client/app/mobile')
| -rw-r--r-- | src/client/app/mobile/views/pages/featured.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/app/mobile/views/pages/featured.vue b/src/client/app/mobile/views/pages/featured.vue index 0479bf73f8..9122673be1 100644 --- a/src/client/app/mobile/views/pages/featured.vue +++ b/src/client/app/mobile/views/pages/featured.vue @@ -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; |