Fix: Channel 投稿を削除編集すると Channel 外に投稿されるのを修正 (#6707)

This commit is contained in:
sobadon 2020-09-22 00:54:24 +09:00 committed by GitHub
parent 93c6092ea5
commit 70108fb430
2 changed files with 7 additions and 2 deletions

View File

@ -551,7 +551,7 @@ export default Vue.extend({
noteId: this.appearNote.id
});
this.$root.post({ initialNote: this.appearNote, renote: this.appearNote.renote, reply: this.appearNote.reply });
this.$root.post({ initialNote: this.appearNote, renote: this.appearNote.renote, reply: this.appearNote.reply, channel: this.appearNote.channel });
});
},

View File

@ -16,6 +16,7 @@
:initial-text="initialText"
:initial-note="initialNote"
:instant="instant"
:channel="channel"
@posted="onPosted"
@cancel="onCanceled"
style="border-radius: var(--radius);"/>
@ -62,7 +63,11 @@ export default Vue.extend({
type: Boolean,
required: false,
default: false
}
},
channel: {
type: Object,
required: false
},
},
data() {