feat(v4): Add new contact details screen (#10504)

Co-authored-by: Pranav <pranavrajs@gmail.com>
This commit is contained in:
Sivin Varghese
2024-12-04 10:59:47 +05:30
committed by GitHub
parent d4b6f710bd
commit 769b7171f4
37 changed files with 1353 additions and 221 deletions

View File

@@ -200,15 +200,9 @@ const menuItems = computed(() => {
to: accountScopedRoute(
'contacts_dashboard_index',
{},
{
page: 1,
search: undefined,
}
{ page: 1, search: undefined }
),
activeOn: [
'contacts_dashboard_index',
'contacts_dashboard_edit_index',
],
activeOn: ['contacts_dashboard_index', 'contacts_edit'],
},
{
name: 'Segments',
@@ -219,14 +213,13 @@ const menuItems = computed(() => {
label: view.name,
to: accountScopedRoute(
'contacts_dashboard_segments_index',
{
segmentId: view.id,
},
{
page: 1,
}
{ segmentId: view.id },
{ page: 1 }
),
activeOn: ['contacts_dashboard_segments_index'],
activeOn: [
'contacts_dashboard_segments_index',
'contacts_edit_segment',
],
})),
},
{
@@ -242,15 +235,13 @@ const menuItems = computed(() => {
}),
to: accountScopedRoute(
'contacts_dashboard_labels_index',
{
label: label.title,
},
{
page: 1,
search: undefined,
}
{ label: label.title },
{ page: 1, search: undefined }
),
activeOn: ['contacts_dashboard_labels_index'],
activeOn: [
'contacts_dashboard_labels_index',
'contacts_edit_label',
],
})),
},
],