From 66ee2f986ebca958425ea3cf9579d9dadae25541 Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Mon, 31 May 2021 18:00:09 +0200 Subject: [PATCH] Update file-explorer-context-menu.tsx --- .../file-explorer/src/lib/file-explorer-context-menu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/file-explorer/src/lib/file-explorer-context-menu.tsx b/libs/remix-ui/file-explorer/src/lib/file-explorer-context-menu.tsx index 2c96080866..c049a93a65 100644 --- a/libs/remix-ui/file-explorer/src/lib/file-explorer-context-menu.tsx +++ b/libs/remix-ui/file-explorer/src/lib/file-explorer-context-menu.tsx @@ -24,7 +24,7 @@ export const FileExplorerContextMenu = (props: FileExplorerContextMenuProps) => const filterItem = (item: action) => { /** * if there are multiple elements focused we need to take this and all conditions must be met - * for example : 'downloadAsZip' with type ['file','folder','multi'] will work on files and folders when multiple are selected + * for example : 'downloadAsZip' with type ['file','folder'] will work on files and folders when multiple are selected **/ const nonRootFocus = focus.filter((el) => { return !(el.key === '' && el.type === 'folder') }) if (nonRootFocus.length > 1) {