Skip to content

Commit

Permalink
Fix: Empty dropdown(s) on the grid view. (#57316)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Dec 21, 2023
1 parent 73954e3 commit 1df4fd6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/dataviews/src/item-actions.js
Expand Up @@ -186,6 +186,9 @@ function CompactItemActions( { item, primaryActions, secondaryActions } ) {
size="compact"
icon={ moreVertical }
label={ __( 'Actions' ) }
disabled={
! primaryActions.length && ! secondaryActions.length
}
/>
}
placement="bottom-end"
Expand Down

0 comments on commit 1df4fd6

Please sign in to comment.