Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed May 14, 2024
1 parent af2878a commit ffaa966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dataviews/src/item-actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function DropdownMenuItemTrigger( {
return (
<DropdownMenuItem
onClick={ onClick }
hideOnClick={ 'RenderModal' in action }
hideOnClick={ ! ( 'RenderModal' in action ) }
>
<DropdownMenuItemLabel>{ action.label }</DropdownMenuItemLabel>
</DropdownMenuItem>
Expand Down

0 comments on commit ffaa966

Please sign in to comment.