From 3e3ba71ba8340b0098fe42d6b4aff859fce95189 Mon Sep 17 00:00:00 2001 From: Mario Santos Date: Wed, 24 Jan 2024 20:37:27 +0100 Subject: [PATCH] Use `lockUrlControls` variable in button --- packages/block-library/src/button/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/button/edit.js b/packages/block-library/src/button/edit.js index f6e465786ef69e..7dffdfb5c1b669 100644 --- a/packages/block-library/src/button/edit.js +++ b/packages/block-library/src/button/edit.js @@ -336,7 +336,7 @@ function ButtonEdit( props ) { { isLinkTag && isSelected && ( isEditingURL || isURLSet ) && - ! metadata?.bindings?.url && ( + ! lockUrlControls && ( {