From 19072dd3d60a0ee5190e042714e987530aecabe8 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Wed, 10 Jul 2024 16:04:30 +0530 Subject: [PATCH] refactor: moved cc & bcc button from header to 'TO' section --- frontend/src/components/CommunicationArea.vue | 30 +---- .../components/Controls/MultiselectInput.vue | 2 +- frontend/src/components/EmailEditor.vue | 122 ++++++++++-------- 3 files changed, 71 insertions(+), 83 deletions(-) diff --git a/frontend/src/components/CommunicationArea.vue b/frontend/src/components/CommunicationArea.vue index c8fb92a7..646abd3e 100644 --- a/frontend/src/components/CommunicationArea.vue +++ b/frontend/src/components/CommunicationArea.vue @@ -23,18 +23,6 @@ -
-
{ - newEmailEditor.value.ccInput.setFocus() - }) -} - -function toggleBCC() { - newEmailEditor.value.bcc = !newEmailEditor.value.bcc - newEmailEditor.value.bcc && - nextTick(() => { - newEmailEditor.value.bccInput.setFocus() - }) -} - function toggleEmailBox() { if (showCommentBox.value) { showCommentBox.value = false diff --git a/frontend/src/components/Controls/MultiselectInput.vue b/frontend/src/components/Controls/MultiselectInput.vue index ed8b4102..76fbd3cf 100644 --- a/frontend/src/components/Controls/MultiselectInput.vue +++ b/frontend/src/components/Controls/MultiselectInput.vue @@ -8,7 +8,7 @@ :label="value" theme="gray" variant="subtle" - class="rounded-full" + class="rounded" @keydown.delete.capture.stop="removeLastValue" >