Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix: additional attributes

DarkPhoenix27047d2bf703fc2a
diff --git a/packages/nc-gui/composables/useProvideChatwoot.ts b/packages/nc-gui/composables/useProvideChatwoot.ts
index 2bed46fabd..1192ee2228 100644
--- a/packages/nc-gui/composables/useProvideChatwoot.ts
+++ b/packages/nc-gui/composables/useProvideChatwoot.ts
@@ -1,5 +1,5 @@
export const useProvideChatwoot = () => {
- const { setUser, setConversationCustomAttributes } = useChatWoot()
+ const { setUser, setConversationCustomAttributes, setCustomAttributes } = useChatWoot()
const { $api } = useNuxtApp()
@@ -27,6 +27,11 @@ export const useProvideChatwoot = () => {
name: user.value?.display_name || '',
identifier_hash: identity_hash,
})
+
+ setCustomAttributes({
+ is_oss: true as any,
+ })
+
setConversationCustomAttributes({
user_id: String(userId),
email: user.value?.email || '',