diff --git a/packages/twenty-front/src/modules/object-record/record-action-bar/hooks/useRecordActionBar.tsx b/packages/twenty-front/src/modules/object-record/record-action-bar/hooks/useRecordActionBar.tsx index 490467dae757..9765a085f5af 100644 --- a/packages/twenty-front/src/modules/object-record/record-action-bar/hooks/useRecordActionBar.tsx +++ b/packages/twenty-front/src/modules/object-record/record-action-bar/hooks/useRecordActionBar.tsx @@ -136,7 +136,6 @@ export const useRecordActionBar = ({ accent: 'danger', onClick: () => { setIsDeleteRecordsModalOpen(true); - handleDeleteClick(); }, ConfirmationModal: ( { return (
- {actionBarEntries[0]?.ConfirmationModal ?? null} + {actionBarEntries.map((actionBarEntry, index) => + actionBarEntry.ConfirmationModal ? ( +
{actionBarEntry.ConfirmationModal}
+ ) : null, + )}
); };