Fetch conversation again on route change.

This might happen when you visit other convos via the notifications bar.
This commit is contained in:
Roger Braun 2016-11-28 13:36:19 +01:00
parent 1190b439b3
commit c9604eec9d
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@ const conversation = {
created () {
this.fetchConversation()
},
watch: {
'$route': 'fetchConversation'
},
methods: {
fetchConversation () {
if (this.status) {