diff --git a/packages/patterns/src/components/pattern-overrides-block-controls.js b/packages/patterns/src/components/pattern-overrides-block-controls.js index 156b05cae63ce..ae8ef5e1bb7da 100644 --- a/packages/patterns/src/components/pattern-overrides-block-controls.js +++ b/packages/patterns/src/components/pattern-overrides-block-controls.js @@ -127,7 +127,7 @@ export default function PatternOverridesBlockControls() { const _hasPatternOverrides = selectedClientIds.every( ( clientId ) => Object.values( - getBlockAttributes( clientId ).metadata?.bindings ?? {} + getBlockAttributes( clientId )?.metadata?.bindings ?? {} ).some( ( binding ) => binding?.source === PATTERN_OVERRIDES_BINDING_SOURCE