Skip to content

Commit

Permalink
fix: explorer button bar
Browse files Browse the repository at this point in the history
  • Loading branch information
ddecrulle committed Nov 25, 2024
1 parent 11f79b6 commit 2bc20ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/ui/pages/myFiles/Explorer/ExplorerButtonBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down

0 comments on commit 2bc20ad

Please sign in to comment.