[ChatUI] Fix error when posting to channel

This commit is contained in:
Derek 2022-01-22 15:49:29 -07:00
parent 24fdaa2326
commit 1e0134e61b

View file

@ -536,7 +536,7 @@ export default defineComponent({
fileIds: this.files.length > 0 ? this.files.map(f => f.id) : undefined,
replyId: this.reply ? this.reply.id : undefined,
renoteId: this.renote ? this.renote.id : this.quoteId ? this.quoteId : undefined,
channelId: this.channel ? this.channel : undefined,
channelId: this.channel ? this.channel.id : undefined,
poll: this.poll,
cw: this.useCw ? this.cw || '' : undefined,
localOnly: this.localOnly,
@ -741,7 +741,7 @@ export default defineComponent({
margin-left: 0 !important;
}
}
> .local-only {
margin: 0 0 0 12px;
opacity: 0.7;