From e119273fe060d27dc450525b6b4e27969f4f2c00 Mon Sep 17 00:00:00 2001 From: Esco Date: Mon, 15 Jul 2024 20:36:54 +0200 Subject: [PATCH] Added bulkdelete to Contacts --- .../email-exchange/administration/ContactsList.jsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/views/email-exchange/administration/ContactsList.jsx b/src/views/email-exchange/administration/ContactsList.jsx index f0709de26be3..65bca9394927 100644 --- a/src/views/email-exchange/administration/ContactsList.jsx +++ b/src/views/email-exchange/administration/ContactsList.jsx @@ -109,6 +109,17 @@ const ContactList = () => { reportName: `${tenant?.defaultDomainName}-Contacts-List`, path: '/api/ListContacts', columns, + tableProps: { + selectableRows: true, + actionsList: [ + { + label: 'Remove selected Contacts', + color: 'danger', + modal: true, + modalUrl: `/api/RemoveContact?TenantFilter=${tenant.defaultDomainName}&GUID=!id`, + }, + ], + }, params: { TenantFilter: tenant?.defaultDomainName }, }} />