From 17612a99a61bfd609609ce89ba33a9579fd8e9b8 Mon Sep 17 00:00:00 2001 From: Dylan Decrulle Date: Mon, 25 Nov 2024 13:54:09 +0100 Subject: [PATCH] fix: explorer button bar --- web/src/ui/pages/myFiles/Explorer/ExplorerButtonBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/ui/pages/myFiles/Explorer/ExplorerButtonBar.tsx b/web/src/ui/pages/myFiles/Explorer/ExplorerButtonBar.tsx index 989eb154f..831c9c721 100644 --- a/web/src/ui/pages/myFiles/Explorer/ExplorerButtonBar.tsx +++ b/web/src/ui/pages/myFiles/Explorer/ExplorerButtonBar.tsx @@ -58,8 +58,8 @@ export const ExplorerButtonBar = memo((props: Props) => { case "create directory": return false; case "delete": + return selectedItemKind === "none"; case "share": - return selectedItemKind !== "file"; case "copy path": return selectedItemKind !== "file"; }