Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras committed May 28, 2024
1 parent 871c894 commit 74f0f4a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/dataviews/src/item-actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export default function ItemActions< Item extends AnyItem >( {
key={ action.id }
action={ action }
onClick={ () => action.callback( [ item ] ) }
items={ item[ 0 ] }
items={ [ item ] }
/>
);
} ) }
Expand Down
1 change: 0 additions & 1 deletion packages/editor/src/components/post-actions/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,6 @@ const postRevisionsAction = {
revisionsCount
);
},
isPrimary: false,
isEligible: ( post ) => {
if ( post.status === 'trash' ) {
return false;
Expand Down

0 comments on commit 74f0f4a

Please sign in to comment.