Skip to content

Commit

Permalink
Use lockUrlControls variable in button
Browse files Browse the repository at this point in the history
  • Loading branch information
SantosGuillamot committed Jan 24, 2024
1 parent fd46752 commit 3e3ba71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/button/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ function ButtonEdit( props ) {
{ isLinkTag &&
isSelected &&
( isEditingURL || isURLSet ) &&
! metadata?.bindings?.url && (
! lockUrlControls && (
<Popover
placement="bottom"
onClose={ () => {
Expand Down

0 comments on commit 3e3ba71

Please sign in to comment.