Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed May 7, 2024
1 parent 4fb50f2 commit bcba371
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 @@ -83,7 +83,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 bcba371

Please sign in to comment.