From d6f8106cfb2a457913bd4e79373b6c23a038e993 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Sun, 17 Mar 2024 12:30:11 +0530 Subject: [PATCH] fix: added delete option in list view bulk actions for all list view --- .../components/ListViews/ContactsListView.vue | 73 ++++++++++-- .../components/ListViews/DealsListView.vue | 41 ++++++- .../ListViews/EmailTemplatesListView.vue | 110 +++++++++--------- .../components/ListViews/LeadsListView.vue | 41 ++++++- .../ListViews/OrganizationsListView.vue | 73 ++++++++++-- .../components/ListViews/TasksListView.vue | 110 +++++++++--------- frontend/src/pages/Contacts.vue | 2 +- frontend/src/pages/EmailTemplates.vue | 2 +- frontend/src/pages/Organizations.vue | 2 +- frontend/src/pages/Tasks.vue | 2 +- 10 files changed, 314 insertions(+), 142 deletions(-) diff --git a/frontend/src/components/ListViews/ContactsListView.vue b/frontend/src/components/ListViews/ContactsListView.vue index 694984e8..9a259f74 100644 --- a/frontend/src/components/ListViews/ContactsListView.vue +++ b/frontend/src/components/ListViews/ContactsListView.vue @@ -70,15 +70,13 @@ @@ -97,13 +95,14 @@ v-model:unselectAll="unselectAllAction" doctype="Contact" :selectedValues="selectedValues" - @reload="emit('reload')" + @reload="list.reload()" /> diff --git a/frontend/src/components/ListViews/DealsListView.vue b/frontend/src/components/ListViews/DealsListView.vue index 9f0681f6..22500792 100644 --- a/frontend/src/components/ListViews/DealsListView.vue +++ b/frontend/src/components/ListViews/DealsListView.vue @@ -98,10 +98,7 @@