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

This commit is contained in:
syuilo 2019-02-20 16:35:00 +09:00
parent d1e7add2e3
commit 5fad8e277b
2 changed files with 11 additions and 6 deletions

View file

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

View file

@ -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;