diff --git a/app/javascript/dashboard/components/widgets/conversation/ConversationBox.vue b/app/javascript/dashboard/components/widgets/conversation/ConversationBox.vue index 189b0e67c..dc4a3bca4 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ConversationBox.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ConversationBox.vue @@ -114,6 +114,7 @@ export default { }, 'currentChat.id'() { this.fetchLabels(); + this.activeIndex = 0; }, }, mounted() { diff --git a/app/javascript/dashboard/helper/scriptHelpers.js b/app/javascript/dashboard/helper/scriptHelpers.js index 90b872363..7807f2b45 100644 --- a/app/javascript/dashboard/helper/scriptHelpers.js +++ b/app/javascript/dashboard/helper/scriptHelpers.js @@ -57,6 +57,7 @@ export const initializeChatwootEvents = () => { window.$chatwoot.setCustomAttributes({ signedUpAt: user.created_at, cloudCustomer: 'true', + account_id: user.account_id, }); }