mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 12:08:01 +00:00
chore: Add account_id as custom_attribute for cloud users (#6926)
This commit is contained in:
@@ -114,6 +114,7 @@ export default {
|
|||||||
},
|
},
|
||||||
'currentChat.id'() {
|
'currentChat.id'() {
|
||||||
this.fetchLabels();
|
this.fetchLabels();
|
||||||
|
this.activeIndex = 0;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|||||||
@@ -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,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user