Fetch conversation again on route change.
This might happen when you visit other convos via the notifications bar.
This commit is contained in:
parent
1190b439b3
commit
c9604eec9d
@ -27,6 +27,9 @@ const conversation = {
|
|||||||
created () {
|
created () {
|
||||||
this.fetchConversation()
|
this.fetchConversation()
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
'$route': 'fetchConversation'
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
fetchConversation () {
|
fetchConversation () {
|
||||||
if (this.status) {
|
if (this.status) {
|
||||||
|
Loading…
Reference in New Issue
Block a user