Skip to content

Commit 2ac01de

Browse files
kyledurandjuzser
authored andcommitted
[ResourceList] Render bulk actions when only promoted actions exist (Shopify#8581)
1 parent 311ca51 commit 2ac01de

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/eight-bags-clap.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/polaris': patch
3+
---
4+
5+
Fixed a bug where bulk actions wouldn't render when only promoted actions exist

polaris-react/src/components/ResourceList/ResourceList.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ export const ResourceList: ResourceListType = function ResourceList<TItemType>({
555555
);
556556

557557
const bulkActionsMarkup =
558-
isSelectable && selectMode && bulkActions ? (
558+
isSelectable && selectMode && (bulkActions || promotedBulkActions) ? (
559559
<div
560560
className={bulkActionClassNames}
561561
style={{

0 commit comments

Comments
 (0)