From c1f6d996f678e352841504f16f145f29f5587e49 Mon Sep 17 00:00:00 2001 From: sobadon Date: Tue, 22 Sep 2020 00:54:24 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20Channel=20=E6=8A=95=E7=A8=BF=E3=82=92?= =?UTF-8?q?=E5=89=8A=E9=99=A4=E7=B7=A8=E9=9B=86=E3=81=99=E3=82=8B=E3=81=A8?= =?UTF-8?q?=20Channel=20=E5=A4=96=E3=81=AB=E6=8A=95=E7=A8=BF=E3=81=95?= =?UTF-8?q?=E3=82=8C=E3=82=8B=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3=20(#6707?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/components/note.vue | 2 +- src/client/components/post-form-dialog.vue | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/client/components/note.vue b/src/client/components/note.vue index a731f9a36..31acd4900 100644 --- a/src/client/components/note.vue +++ b/src/client/components/note.vue @@ -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 }); }); }, diff --git a/src/client/components/post-form-dialog.vue b/src/client/components/post-form-dialog.vue index 14227fec5..8a56dd24e 100644 --- a/src/client/components/post-form-dialog.vue +++ b/src/client/components/post-form-dialog.vue @@ -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() {