diff --git a/src/components/instance/settings/Chatwoot.vue b/src/components/instance/settings/Chatwoot.vue index 48ef7c2..837db5f 100644 --- a/src/components/instance/settings/Chatwoot.vue +++ b/src/components/instance/settings/Chatwoot.vue @@ -89,12 +89,12 @@ class="mb-3" density="compact" > - +
@@ -105,7 +105,15 @@ hide-details class="mb-3" density="compact" - /> + > + +
@@ -116,7 +124,14 @@ hide-details class="mb-3" density="compact" - /> + > + +
@@ -154,7 +169,6 @@ import ChatwootConfig from "@/components/modal/ChatwootConfig.vue"; import instanceController from "@/services/instanceController"; - const defaultObj = () => ({ enabled: false, url: "", @@ -231,7 +245,10 @@ export default { this.instance.instance.instanceName ); this.chatwootData = Object.assign(defaultObj(), chatwootData || {}); - this.defaultChatwootData = Object.assign(defaultObj(), chatwootData || {}); + this.defaultChatwootData = Object.assign( + defaultObj(), + chatwootData || {} + ); } catch (e) { this.error = e.message?.message || e.message || e; } finally {