diff --git a/src/client/app/desktop/views/pages/user/user.header.vue b/src/client/app/desktop/views/pages/user/user.header.vue index 15d1187fd..7a0672d3d 100644 --- a/src/client/app/desktop/views/pages/user/user.header.vue +++ b/src/client/app/desktop/views/pages/user/user.header.vue @@ -13,9 +13,7 @@

%fa:map-marker%{{ user.profile.location }}

diff --git a/src/client/app/desktop/views/pages/user/user.timeline.vue b/src/client/app/desktop/views/pages/user/user.timeline.vue index 87d133174..55d6072a9 100644 --- a/src/client/app/desktop/views/pages/user/user.timeline.vue +++ b/src/client/app/desktop/views/pages/user/user.timeline.vue @@ -3,6 +3,7 @@
投稿 投稿と返信 + メディア
@@ -31,16 +32,16 @@ export default Vue.extend({ date: null }; }, - watch: { - mode() { - this.fetch(); - } - }, computed: { empty(): boolean { return this.notes.length == 0; } }, + watch: { + mode() { + this.fetch(); + } + }, mounted() { document.addEventListener('keydown', this.onDocumentKeydown); window.addEventListener('scroll', this.onScroll); @@ -63,7 +64,8 @@ export default Vue.extend({ (this as any).api('users/notes', { userId: this.user.id, untilDate: this.date ? this.date.getTime() : undefined, - with_replies: this.mode == 'with-replies' + includeReplies: this.mode == 'with-replies', + withMedia: this.mode == 'with-media' }).then(notes => { this.notes = notes; this.fetching = false; @@ -75,7 +77,8 @@ export default Vue.extend({ this.moreFetching = true; (this as any).api('users/notes', { userId: this.user.id, - with_replies: this.mode == 'with-replies', + includeReplies: this.mode == 'with-replies', + withMedia: this.mode == 'with-media', untilId: this.notes[this.notes.length - 1].id }).then(notes => { this.moreFetching = false; diff --git a/src/client/app/mobile/views/pages/user.vue b/src/client/app/mobile/views/pages/user.vue index ee7aabb1f..f802bdecf 100644 --- a/src/client/app/mobile/views/pages/user.vue +++ b/src/client/app/mobile/views/pages/user.vue @@ -44,15 +44,15 @@
- - + +