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
|
// Event handlers
|
||||||
onPosted(data) {
|
onPosted(data) {
|
||||||
this.explicitReplyStatus = null
|
// only conversation poster has the returned data
|
||||||
this.$router.push({
|
if (this.isConversation) {
|
||||||
name: 'conversation2',
|
this.explicitReplyStatus = null
|
||||||
params: { statusId: data.id },
|
this.$router.push({
|
||||||
})
|
name: 'conversation2',
|
||||||
|
params: { statusId: data.id },
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
handleVisibilityChange() {
|
handleVisibilityChange() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue