diff --git a/packages/block-library/src/navigation/index.js b/packages/block-library/src/navigation/index.js index 7b0e6b8abef0f..87f2f4bd15785 100644 --- a/packages/block-library/src/navigation/index.js +++ b/packages/block-library/src/navigation/index.js @@ -66,11 +66,7 @@ export const settings = { ref ); - if ( ! navigation?.title ) { - return; - } - - if ( navigation.title === metadata.title ) { + if ( ! navigation?.title || navigation.title === metadata.title ) { return; }