From 1982cb159c33457d3cb89feb0c7f5e159729a7b3 Mon Sep 17 00:00:00 2001 From: iamsivin Date: Tue, 19 Nov 2024 22:03:54 +0530 Subject: [PATCH] chore: Clean up --- .../NewConversation/ComposeConversation.vue | 40 +++++- .../components/ActionButtons.vue | 7 +- .../components/ComposeNewConversationForm.vue | 118 ++++++------------ .../components/ContactSelector.vue | 12 +- 4 files changed, 95 insertions(+), 82 deletions(-) diff --git a/app/javascript/dashboard/components-next/NewConversation/ComposeConversation.vue b/app/javascript/dashboard/components-next/NewConversation/ComposeConversation.vue index 50ea86b32..498feacf8 100644 --- a/app/javascript/dashboard/components-next/NewConversation/ComposeConversation.vue +++ b/app/javascript/dashboard/components-next/NewConversation/ComposeConversation.vue @@ -1,9 +1,10 @@ @@ -368,6 +327,7 @@ const handleSendWhatsappMessage = async ({ message, templateParams }) => { :is-loading="isCreating" :disable-send-button="isCreating" :has-no-inbox="showNoInboxAlert" + :is-dropdown-active="isAnyDropdownActive" @insert-emoji="onClickInsertEmoji" @add-signature="handleAddSignature" @remove-signature="handleRemoveSignature" diff --git a/app/javascript/dashboard/components-next/NewConversation/components/ContactSelector.vue b/app/javascript/dashboard/components-next/NewConversation/components/ContactSelector.vue index e994443b4..744018764 100644 --- a/app/javascript/dashboard/components-next/NewConversation/components/ContactSelector.vue +++ b/app/javascript/dashboard/components-next/NewConversation/components/ContactSelector.vue @@ -79,7 +79,17 @@ const selectedContactLabel = computed(() => {
+ + {{ + t('COMPOSE_NEW_CONVERSATION.FORM.CONTACT_SELECTOR.CONTACT_CREATING') + }} + +
+