diff --git a/packages/dataviews/CHANGELOG.md b/packages/dataviews/CHANGELOG.md index b1cb4504e72fa..cc6f4df9428b0 100644 --- a/packages/dataviews/CHANGELOG.md +++ b/packages/dataviews/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +- The "move left/move right" controls in the table layout (popup displayed on cliking header) are always visible. ([#64646](https://github.com/WordPress/gutenberg/pull/64646)). Before this, its visibility depending on filters, enableSorting, and enableHiding. + ## 4.1.0 (2024-08-07) ## Internal diff --git a/packages/dataviews/src/dataviews-layouts/table/column-header-menu.tsx b/packages/dataviews/src/dataviews-layouts/table/column-header-menu.tsx index ef1dc3e3ed2e0..b8fd0517e49d1 100644 --- a/packages/dataviews/src/dataviews-layouts/table/column-header-menu.tsx +++ b/packages/dataviews/src/dataviews-layouts/table/column-header-menu.tsx @@ -91,9 +91,7 @@ const _HeaderMenu = forwardRef( function HeaderMenu< Item >( !! field.elements?.length && !! operators.length && ! field.filterBy?.isPrimary; - if ( ! isSortable && ! isHidable && ! canAddFilter ) { - return field.label; - } + return (