Fix error dialog when posting in chat
This commit is contained in:
parent
bf1f7d8f93
commit
5c28063a50
2 changed files with 9 additions and 5 deletions
1
changelog.d/fix-chat-post.fix
Normal file
1
changelog.d/fix-chat-post.fix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Fix error dialog when posting in chat
|
||||
|
|
@ -538,11 +538,14 @@ const Chat = {
|
|||
|
||||
// Event handlers
|
||||
onPosted(data) {
|
||||
this.explicitReplyStatus = null
|
||||
this.$router.push({
|
||||
name: 'conversation2',
|
||||
params: { statusId: data.id },
|
||||
})
|
||||
// only conversation poster has the returned data
|
||||
if (this.isConversation) {
|
||||
this.explicitReplyStatus = null
|
||||
this.$router.push({
|
||||
name: 'conversation2',
|
||||
params: { statusId: data.id },
|
||||
})
|
||||
}
|
||||
},
|
||||
handleVisibilityChange() {
|
||||
this.$nextTick(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue