diff --git a/src/modules/contacts/components/the-contacts.vue b/src/modules/contacts/components/the-contacts.vue index b2df4032..f3496e7e 100644 --- a/src/modules/contacts/components/the-contacts.vue +++ b/src/modules/contacts/components/the-contacts.vue @@ -61,8 +61,7 @@ :username="item.name.commonName" /> {{ item.name.commonName }} @@ -215,6 +214,11 @@ function edit({ id }) { isContactPopup.value = true; } +function communicationsLink({ id }) { + const routeName = CrmSections.CONTACTS; + return { name: `${routeName}-communications`, params: { id } }; +} + function saved(id) { router.push(`/${CrmSections.CONTACTS}/${id}`); }