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
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue