Fix: Fetch contactable inboxes on new conversion (#2113)
* Fix: Fetch contactable inboxes everytime
This commit is contained in:
parent
8720f39ffb
commit
c95aeb894f
1 changed files with 5 additions and 0 deletions
|
@ -32,6 +32,11 @@ export default {
|
||||||
default: () => ({}),
|
default: () => ({}),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
'contact.id'(id) {
|
||||||
|
this.$store.dispatch('contacts/fetchContactableInbox', id);
|
||||||
|
},
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
const { id } = this.contact;
|
const { id } = this.contact;
|
||||||
this.$store.dispatch('contacts/fetchContactableInbox', id);
|
this.$store.dispatch('contacts/fetchContactableInbox', id);
|
||||||
|
|
Loading…
Reference in a new issue