diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-02-21 00:12:09 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-02-21 00:12:09 +0900 |
| commit | c89aa7eb9583a7a10ea2887a4e62966aeebb7acd (patch) | |
| tree | c1dff27e14122c835d27fdab6de528f7cda4ccce /src | |
| parent | Fix #1537 (diff) | |
| download | sharkey-c89aa7eb9583a7a10ea2887a4e62966aeebb7acd.tar.gz sharkey-c89aa7eb9583a7a10ea2887a4e62966aeebb7acd.tar.bz2 sharkey-c89aa7eb9583a7a10ea2887a4e62966aeebb7acd.zip | |
デッキでメディア投稿のみ表示するオプションが機能していない問題を修正
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/desktop/views/deck/deck.tl.vue | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/client/app/desktop/views/deck/deck.tl.vue b/src/client/app/desktop/views/deck/deck.tl.vue index 263c2a0820..0d08ad4d24 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(); |