From 36d50bcdf43632c44ad17d5211bbb5953b84ce4e Mon Sep 17 00:00:00 2001 From: francesco Date: Wed, 5 May 2021 13:25:42 +0200 Subject: [PATCH] Decoupled entity side view with main view providers --- src/collection/CollectionRowActions.tsx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/collection/CollectionRowActions.tsx b/src/collection/CollectionRowActions.tsx index d51d228..7454ceb 100644 --- a/src/collection/CollectionRowActions.tsx +++ b/src/collection/CollectionRowActions.tsx @@ -75,16 +75,8 @@ export function CollectionRowActions, setAnchorEl(null); }; - const onContainerClick = selectionEnabled ? - (event: MouseEvent) => { - if (toggleEntitySelection) - toggleEntitySelection(entity); - event.stopPropagation(); - } : undefined; - return ( -
+
{(editEnabled || deleteEnabled || selectionEnabled) &&