返信が遷移後も残り続ける問題を修正

This commit is contained in:
syuilo 2019-02-20 16:35:00 +09:00
parent 3a6a01d2d6
commit 9beddc941a
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
2 changed files with 11 additions and 6 deletions

View file

@ -5,6 +5,7 @@ unreleased
---------- ----------
* モバイル版でも連携サービスを表示するように * モバイル版でも連携サービスを表示するように
* webfingerのacceptが反映されない問題を修正 * webfingerのacceptが反映されない問題を修正
* 返信が遷移後も残り続ける問題を修正
* デザインの調整 * デザインの調整
10.87.4 10.87.4

View file

@ -122,19 +122,23 @@ export default Vue.extend({
}; };
}, },
mounted() { watch: {
// Get replies note() {
if (!this.compact) { this.fetchReplies();
}
},
methods: {
fetchReplies() {
if (this.compact) return;
this.$root.api('notes/replies', { this.$root.api('notes/replies', {
noteId: this.appearNote.id, noteId: this.appearNote.id,
limit: 8 limit: 8
}).then(replies => { }).then(replies => {
this.replies = replies; this.replies = replies;
}); });
} },
},
methods: {
fetchConversation() { fetchConversation() {
this.conversationFetching = true; this.conversationFetching = true;