Skip to content

Commit

Permalink
feat: Remove infos action in multiselect
Browse files Browse the repository at this point in the history
  • Loading branch information
JF-Cozy committed Jan 21, 2025
1 parent afbb54d commit 17e790b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/actions/infos.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const infos = ({ t, navigate }) => {
name: 'infos',
icon,
label,
displayCondition: docs => isFile(docs[0]),
displayCondition: docs => docs.length <= 1 && isFile(docs[0]),
Component: makeComponent(label, icon),
action: docs => {
navigate(`file/${docs[0]._id}`)
Expand Down

0 comments on commit 17e790b

Please sign in to comment.