chore: Add account_id as custom_attribute for cloud users (#6926)

This commit is contained in:
Pranav Raj S
2023-04-18 22:35:11 -07:00
committed by GitHub
parent b93b8cdab6
commit ea2c442328
2 changed files with 2 additions and 0 deletions

View File

@@ -114,6 +114,7 @@ export default {
}, },
'currentChat.id'() { 'currentChat.id'() {
this.fetchLabels(); this.fetchLabels();
this.activeIndex = 0;
}, },
}, },
mounted() { mounted() {

View File

@@ -57,6 +57,7 @@ export const initializeChatwootEvents = () => {
window.$chatwoot.setCustomAttributes({ window.$chatwoot.setCustomAttributes({
signedUpAt: user.created_at, signedUpAt: user.created_at,
cloudCustomer: 'true', cloudCustomer: 'true',
account_id: user.account_id,
}); });
} }