diff --git a/app/javascript/dashboard/components/widgets/conversation/ConversationBox.vue b/app/javascript/dashboard/components/widgets/conversation/ConversationBox.vue index a1cb09c82..210357a8b 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ConversationBox.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ConversationBox.vue @@ -62,10 +62,13 @@ export default { }, }, watch: { - 'currentChat.inbox_id'(inboxId) { - if (inboxId) { - this.$store.dispatch('inboxAssignableAgents/fetch', [inboxId]); - } + 'currentChat.inbox_id': { + immediate: true, + handler(inboxId) { + if (inboxId) { + this.$store.dispatch('inboxAssignableAgents/fetch', [inboxId]); + } + }, }, 'currentChat.id'() { this.fetchLabels();