diff --git a/CHANGELOG.md b/CHANGELOG.md index fdf032a811..70376499d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ unreleased ---------- * モバイル版でも連携サービスを表示するように * webfingerのacceptが反映されない問題を修正 +* 返信が遷移後も残り続ける問題を修正 * デザインの調整 10.87.4 diff --git a/src/client/app/mobile/views/components/note-detail.vue b/src/client/app/mobile/views/components/note-detail.vue index e00ecd5ffa..c4403dbd62 100644 --- a/src/client/app/mobile/views/components/note-detail.vue +++ b/src/client/app/mobile/views/components/note-detail.vue @@ -122,19 +122,23 @@ export default Vue.extend({ }; }, - mounted() { - // Get replies - if (!this.compact) { + watch: { + note() { + this.fetchReplies(); + } + }, + + methods: { + fetchReplies() { + if (this.compact) return; this.$root.api('notes/replies', { noteId: this.appearNote.id, limit: 8 }).then(replies => { this.replies = replies; }); - } - }, + }, - methods: { fetchConversation() { this.conversationFetching = true;