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();