From c89aa7eb9583a7a10ea2887a4e62966aeebb7acd Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 21 Feb 2019 00:12:09 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=87=E3=83=83=E3=82=AD=E3=81=A7=E3=83=A1?= =?UTF-8?q?=E3=83=87=E3=82=A3=E3=82=A2=E6=8A=95=E7=A8=BF=E3=81=AE=E3=81=BF?= =?UTF-8?q?=E8=A1=A8=E7=A4=BA=E3=81=99=E3=82=8B=E3=82=AA=E3=83=97=E3=82=B7?= =?UTF-8?q?=E3=83=A7=E3=83=B3=E3=81=8C=E6=A9=9F=E8=83=BD=E3=81=97=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + src/client/app/desktop/views/deck/deck.tl.vue | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af5a9fee2..d54aa07d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ChangeLog unreleased ---------- +* デッキでメディア投稿のみ表示するオプションが機能していない問題を修正 * デッキでユーザーを表示したときにタイムラインが残存する問題を修正 * モバイルのユーザーページで、ユーザーAのタイムラインから他のユーザーBを選択してユーザーBのタイムラインに移動したとき、ユーザーAのタイムラインが残る問題を修正 * ハイライトでミュートしているユーザーの投稿が含まれる問題を修正 diff --git a/src/client/app/desktop/views/deck/deck.tl.vue b/src/client/app/desktop/views/deck/deck.tl.vue index 263c2a082..0d08ad4d2 100644 --- a/src/client/app/desktop/views/deck/deck.tl.vue +++ b/src/client/app/desktop/views/deck/deck.tl.vue @@ -73,16 +73,18 @@ export default Vue.extend({ watch: { mediaOnly() { - this.fetch(); + (this.$refs.timeline as any).reload(); } }, created() { this.makePromise = cursor => this.$root.api(this.endpoint, { limit: fetchLimit + 1, - untilDate: cursor ? undefined : (this.date ? this.date.getTime() : undefined), untilId: cursor ? cursor : undefined, - ...this.baseQuery, ...this.query + withFiles: this.mediaOnly, + includeMyRenotes: this.$store.state.settings.showMyRenotes, + includeRenotedMyNotes: this.$store.state.settings.showRenotedMyNotes, + includeLocalRenotes: this.$store.state.settings.showLocalRenotes }).then(notes => { if (notes.length == fetchLimit + 1) { notes.pop();