diff --git a/.changeset/eight-bags-clap.md b/.changeset/eight-bags-clap.md new file mode 100644 index 00000000000..ccb78e4188d --- /dev/null +++ b/.changeset/eight-bags-clap.md @@ -0,0 +1,5 @@ +--- +'@shopify/polaris': patch +--- + +Fixed a bug where bulk actions wouldn't render when only promoted actions exist diff --git a/polaris-react/src/components/ResourceList/ResourceList.tsx b/polaris-react/src/components/ResourceList/ResourceList.tsx index d3d53193549..42bc0ecf365 100644 --- a/polaris-react/src/components/ResourceList/ResourceList.tsx +++ b/polaris-react/src/components/ResourceList/ResourceList.tsx @@ -555,7 +555,7 @@ export const ResourceList: ResourceListType = function ResourceList({ ); const bulkActionsMarkup = - isSelectable && selectMode && bulkActions ? ( + isSelectable && selectMode && (bulkActions || promotedBulkActions) ? (