mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-28 00:53:31 +02:00
Fix: Channel 投稿を削除編集すると Channel 外に投稿されるのを修正 (#6707)
This commit is contained in:
parent
df71dbb024
commit
c1f6d996f6
2 changed files with 7 additions and 2 deletions
|
@ -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 });
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue