From a9fcb8bb21f06dca19489201ec1ed18158a1d886 Mon Sep 17 00:00:00 2001 From: yogeshbhutkar Date: Mon, 13 Jan 2025 09:56:47 +0530 Subject: [PATCH] Refactor: remove `context` limitations --- packages/block-library/src/navigation/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/block-library/src/navigation/index.js b/packages/block-library/src/navigation/index.js index e19efaf78d156b..36156e5f45bbaa 100644 --- a/packages/block-library/src/navigation/index.js +++ b/packages/block-library/src/navigation/index.js @@ -55,8 +55,8 @@ export const settings = { }, edit, save, - __experimentalLabel: ( { ref }, { context } ) => { - if ( ! ref || context !== 'list-view' ) { + __experimentalLabel: ( { ref } ) => { + if ( ! ref ) { return; }