Skip to content

Commit

Permalink
Compare label values
Browse files Browse the repository at this point in the history
  • Loading branch information
SantosGuillamot committed Oct 16, 2024
1 parent 0148938 commit b19618b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/blocks/src/api/registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ export const registerBlockBindingsSource = ( source ) => {
return;
}

if ( label && existingSource?.label ) {
if ( label && existingSource?.label && label !== existingSource?.label ) {
warning( 'Block bindings "' + name + '" source label was overriden.' );
}

Expand Down

0 comments on commit b19618b

Please sign in to comment.