From ad92e35523bc8600cb9ecf6dfb75dafe80dc56e8 Mon Sep 17 00:00:00 2001 From: Gabriel Pastori <58153955+gabrielpastori1@users.noreply.github.com> Date: Fri, 24 Nov 2023 13:03:38 -0300 Subject: [PATCH] add chatwoot help --- src/components/instance/settings/Chatwoot.vue | 37 ++++++++++++++----- 1 file changed, 27 insertions(+), 10 deletions(-) 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 {