mirror of
https://github.com/EvolutionAPI/evolution-manager.git
synced 2025-07-13 15:14:49 -06:00
add chatwoot help
This commit is contained in:
parent
c20c4b00c6
commit
ad92e35523
@ -89,12 +89,12 @@
|
|||||||
class="mb-3"
|
class="mb-3"
|
||||||
density="compact"
|
density="compact"
|
||||||
>
|
>
|
||||||
<template v-slot:label>
|
<template v-slot:label>
|
||||||
<span>Assinar mensagens</span>
|
<span>Assinar mensagens</span>
|
||||||
<HelpTooltip>
|
<HelpTooltip>
|
||||||
Adiciona o nome do atendente na primeira linha da mensagem
|
Adiciona o nome do atendente na primeira linha da mensagem
|
||||||
</HelpTooltip>
|
</HelpTooltip>
|
||||||
</template>
|
</template>
|
||||||
</v-checkbox>
|
</v-checkbox>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@ -105,7 +105,15 @@
|
|||||||
hide-details
|
hide-details
|
||||||
class="mb-3"
|
class="mb-3"
|
||||||
density="compact"
|
density="compact"
|
||||||
/>
|
>
|
||||||
|
<template v-slot:label>
|
||||||
|
<span>Assinar mensagens</span>
|
||||||
|
<HelpTooltip>
|
||||||
|
Reabre a conversa do cliente quando ele inicia uma nova
|
||||||
|
conversa em vez de criar uma nova conversa
|
||||||
|
</HelpTooltip>
|
||||||
|
</template>
|
||||||
|
</v-checkbox>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
@ -116,7 +124,14 @@
|
|||||||
hide-details
|
hide-details
|
||||||
class="mb-3"
|
class="mb-3"
|
||||||
density="compact"
|
density="compact"
|
||||||
/>
|
>
|
||||||
|
<template v-slot:label>
|
||||||
|
<span>Iniciar conversas como pendente</span>
|
||||||
|
<HelpTooltip>
|
||||||
|
Inicia a conversa como pendente ao invés de aberta
|
||||||
|
</HelpTooltip>
|
||||||
|
</template>
|
||||||
|
</v-checkbox>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</v-form>
|
</v-form>
|
||||||
@ -154,7 +169,6 @@
|
|||||||
import ChatwootConfig from "@/components/modal/ChatwootConfig.vue";
|
import ChatwootConfig from "@/components/modal/ChatwootConfig.vue";
|
||||||
import instanceController from "@/services/instanceController";
|
import instanceController from "@/services/instanceController";
|
||||||
|
|
||||||
|
|
||||||
const defaultObj = () => ({
|
const defaultObj = () => ({
|
||||||
enabled: false,
|
enabled: false,
|
||||||
url: "",
|
url: "",
|
||||||
@ -231,7 +245,10 @@ export default {
|
|||||||
this.instance.instance.instanceName
|
this.instance.instance.instanceName
|
||||||
);
|
);
|
||||||
this.chatwootData = Object.assign(defaultObj(), chatwootData || {});
|
this.chatwootData = Object.assign(defaultObj(), chatwootData || {});
|
||||||
this.defaultChatwootData = Object.assign(defaultObj(), chatwootData || {});
|
this.defaultChatwootData = Object.assign(
|
||||||
|
defaultObj(),
|
||||||
|
chatwootData || {}
|
||||||
|
);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.error = e.message?.message || e.message || e;
|
this.error = e.message?.message || e.message || e;
|
||||||
} finally {
|
} finally {
|
||||||
|
Loading…
Reference in New Issue
Block a user