From 2940e4682029a674bc195b681752a25aa60723cf Mon Sep 17 00:00:00 2001 From: Lera24 Date: Mon, 25 Mar 2024 12:54:43 +0200 Subject: [PATCH] fix: open communications tab for new contact[WTEL-4350] --- .../components/opened-contact-communication-popup.vue | 6 ------ src/modules/contacts/components/the-contacts.vue | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/modules/contacts/components/opened-contact-communication-popup.vue b/src/modules/contacts/components/opened-contact-communication-popup.vue index 940ea073..dc525269 100644 --- a/src/modules/contacts/components/opened-contact-communication-popup.vue +++ b/src/modules/contacts/components/opened-contact-communication-popup.vue @@ -99,12 +99,6 @@ const communicationOptions = [ addNamespace: `${props.namespace}/ADD_PHONE`, updateNamespace: `${props.namespace}/UPDATE_PHONE`, }, - // { - // value: 'messaging', - // text: , - // filterField: EngineCommunicationChannels.Messaging, - // namespace: , - // }, ]; const getDefaultDraft = () => ({ diff --git a/src/modules/contacts/components/the-contacts.vue b/src/modules/contacts/components/the-contacts.vue index f3496e7e..752510d9 100644 --- a/src/modules/contacts/components/the-contacts.vue +++ b/src/modules/contacts/components/the-contacts.vue @@ -220,7 +220,7 @@ function communicationsLink({ id }) { } function saved(id) { - router.push(`/${CrmSections.CONTACTS}/${id}`); + router.push(`/${CrmSections.CONTACTS}/${id}/communications`); } function closeContactPopup() {