update router when posting in chat conversation view to trigger scroll
This commit is contained in:
parent
b62dad5f3b
commit
f16aff06f6
2 changed files with 7 additions and 0 deletions
|
|
@ -635,6 +635,12 @@ const conversation = {
|
||||||
this.unsuspendibleIds.delete(id)
|
this.unsuspendibleIds.delete(id)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onPosted(data) {
|
||||||
|
this.explicitReplyStatus = null
|
||||||
|
if (this.isPage) {
|
||||||
|
this.$router.push({ name: 'conversation', params: { id: data.id } })
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -244,6 +244,7 @@
|
||||||
disable-quotes
|
disable-quotes
|
||||||
mentions-line
|
mentions-line
|
||||||
mentions-line-read-only
|
mentions-line-read-only
|
||||||
|
@posted="onPosted"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue