diff options
| author | sobadon <sbdn@chasoba.net> | 2020-09-22 00:54:24 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-22 00:54:24 +0900 |
| commit | c1f6d996f678e352841504f16f145f29f5587e49 (patch) | |
| tree | deef781b0af04ea566fe94254bd1a36c8a5f7df8 /src | |
| parent | Resolve #6692 (#6703) (diff) | |
| download | misskey-c1f6d996f678e352841504f16f145f29f5587e49.tar.gz misskey-c1f6d996f678e352841504f16f145f29f5587e49.tar.bz2 misskey-c1f6d996f678e352841504f16f145f29f5587e49.zip | |
Fix: Channel 投稿を削除編集すると Channel 外に投稿されるのを修正 (#6707)
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/components/note.vue | 2 | ||||
| -rw-r--r-- | 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 a731f9a36e..31acd49003 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 14227fec5d..8a56dd24e2 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() { |