mirror of
https://github.com/EvolutionAPI/evolution-manager.git
synced 2025-07-13 15:14:49 -06:00
feat: Add name_inbox field to Chatwoot settings
This commit adds the `name_inbox` field to the Chatwoot settings in both the `Privacy.vue` and `Chatwoot.vue` components. This field allows users to specify the name of the inbox to be used in Chatwoot. If not provided, it will default to the session name.
This commit is contained in:
parent
afebd9e1fe
commit
87cfadf673
@ -124,6 +124,7 @@ const defaultObj = () => ({
|
||||
url: "",
|
||||
account_id: "",
|
||||
token: "",
|
||||
name_inbox: "",
|
||||
sign_msg: true,
|
||||
reopen_conversation: true,
|
||||
conversation_pending: false,
|
||||
|
@ -97,6 +97,25 @@
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-flex align-center gap-4 flex-wrap">
|
||||
<v-text-field
|
||||
class="flex-grow-1 flex-shrink-0 mb-3"
|
||||
v-model="chatwootData.name_inbox"
|
||||
:disabled="
|
||||
loading ||
|
||||
!AppStore.versionSatisfies('>=1.7.4')
|
||||
"
|
||||
:label="$t('chatwoot.nameInbox')"
|
||||
:hint="
|
||||
!AppStore.versionSatisfies('>=1.7.4')
|
||||
? $t('version.availableFrom', { version: '>=1.7.4' })
|
||||
: $t('chatwoot.nameInboxHelp')
|
||||
"
|
||||
:persistent-hint="!AppStore.versionSatisfies('>=1.7.4')"
|
||||
hide-details="auto"
|
||||
style="min-width: 200px"
|
||||
></v-text-field>
|
||||
</div>
|
||||
<div class="d-flex align-center gap-4 flex-wrap">
|
||||
<v-checkbox
|
||||
class="flex-grow-0 flex-shrink-0"
|
||||
@ -292,6 +311,7 @@ const defaultObj = () => ({
|
||||
url: "",
|
||||
account_id: "",
|
||||
token: "",
|
||||
name_inbox: "",
|
||||
sign_msg: true,
|
||||
sign_delimiter: "\n",
|
||||
reopen_conversation: true,
|
||||
@ -322,6 +342,7 @@ export default {
|
||||
url: "",
|
||||
account_id: "",
|
||||
token: "",
|
||||
name_inbox: "",
|
||||
sign_msg: true,
|
||||
sign_delimiter: "\n",
|
||||
reopen_conversation: true,
|
||||
@ -336,6 +357,7 @@ export default {
|
||||
url: "",
|
||||
account_id: "",
|
||||
token: "",
|
||||
name_inbox: "",
|
||||
sign_msg: true,
|
||||
sign_delimiter: "\n",
|
||||
reopen_conversation: true,
|
||||
|
@ -97,6 +97,8 @@ export default {
|
||||
account_id: "Account ID",
|
||||
token: "Account Token",
|
||||
dayslimitimportmessages: "Days limit to import messages",
|
||||
nameInbox: "Inbox name",
|
||||
nameInboxHelp: "Inbox name to be used in Chatwoot. If not provided, it will default to the session name.",
|
||||
signMsg: "Sign messages",
|
||||
signMsgHelp: "Adds the agent name at the first line of the message",
|
||||
signDelimiter: "Signature delimiter",
|
||||
|
@ -97,6 +97,8 @@ export default {
|
||||
account_id: "ID de Cuenta",
|
||||
token: "Token de Cuenta",
|
||||
dayslimitimportmessages: "Límite de días para importar mensajes",
|
||||
nameInbox: "Nombre de la bandeja de entrada",
|
||||
nameInboxHelp: "Nombre de la bandeja de entrada que se utilizará en Chatwoot. Si no se proporciona, será el nombre de la sesión por defecto.",
|
||||
signMsg: "Firmar en mensajes",
|
||||
signMsgHelp: "Agrega el nombre del agente en la primera línea del mensaje.",
|
||||
signDelimiter: "Delimitador de firma",
|
||||
|
@ -103,6 +103,8 @@ export default {
|
||||
account_id: "ID da conta",
|
||||
token: "Token da conta",
|
||||
dayslimitimportmessages: "Limite de dias para importar mensagens",
|
||||
nameInbox: "Nome da caixa de entrada",
|
||||
nameInboxHelp: "Nome da caixa de entrada que será utilizado no Chatwoot. Se não for informado, será o nome da sessão.",
|
||||
signMsg: "Assinar mensagens",
|
||||
signMsgHelp: "Adiciona o nome do atendente na primeira linha da mensagem",
|
||||
signDelimiter: "Separador da assinatura da mensagem",
|
||||
|
Loading…
Reference in New Issue
Block a user