From 174886671dbcab03a2c1edaa6a7b4e7a9638aa7b Mon Sep 17 00:00:00 2001 From: Muhsin Keloth Date: Wed, 9 Jun 2021 21:26:23 +0530 Subject: [PATCH] feat: Add the ability to edit inbox name (#2406) --- .../dashboard/i18n/locale/en/inboxMgmt.json | 12 ++++++++---- .../dashboard/settings/inbox/Settings.vue | 19 ++++++++++++++----- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json b/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json index f5d164324..09e4c9e9b 100644 --- a/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json +++ b/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json @@ -28,6 +28,14 @@ } ], "ADD": { + "CHANNEL_NAME": { + "LABEL": "Inbox Name", + "PLACEHOLDER": "Enter your inbox name (eg: Acme Inc)" + }, + "WEBSITE_NAME": { + "LABEL": "Website Name", + "PLACEHOLDER": "Enter your website name (eg: Acme Inc)" + }, "FB": { "HELP": "PS: By signing in, we only get access to your Page's messages. Your private messages can never be accessed by Chatwoot.", "CHOOSE_PAGE": "Choose Page", @@ -48,10 +56,6 @@ "CHANNEL_AVATAR": { "LABEL": "Channel Avatar" }, - "CHANNEL_NAME": { - "LABEL": "Website Name", - "PLACEHOLDER": "Enter your website name (eg: Acme Inc)" - }, "CHANNEL_DOMAIN": { "LABEL": "Website Domain", "PLACEHOLDER": "Enter your website domain (eg: acme.com)" diff --git a/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue b/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue index f1ee1980c..a6c1701f2 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue @@ -25,13 +25,10 @@ @change="handleImageUpload" />