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"; }