From a4aeafb7f2175db9fe475d1695ad9bd4f7b5240c Mon Sep 17 00:00:00 2001 From: David BRAQUART Date: Fri, 6 Dec 2024 15:30:22 +0100 Subject: [PATCH] convert menu available for everyone Signed-off-by: David BRAQUART --- src/components/menus/content-contextual-menu.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/menus/content-contextual-menu.tsx b/src/components/menus/content-contextual-menu.tsx index 781c4db2..64081901 100644 --- a/src/components/menus/content-contextual-menu.tsx +++ b/src/components/menus/content-contextual-menu.tsx @@ -468,9 +468,8 @@ export default function ContentContextualMenu(props: Readonly selectedElements.length === 1 && selectedElements[0].type === ElementType.FILTER && - selectedElements[0].subtype !== FilterType.EXPLICIT_NAMING.id && - isUserAllowed(), - [isUserAllowed, selectedElements] + selectedElements[0].subtype !== FilterType.EXPLICIT_NAMING.id, + [selectedElements] ); const allowsDownload = useCallback(() => {