Skip to content

Commit 8707862

Browse files
Merge pull request #1699 from ral-facilities/feature/increase-cart-badge-max
Add max of 999 to viewCartButton
2 parents 2820f91 + 41cf06f commit 8707862

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/datagateway-common/src/views/viewCartButton.component.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const ViewCartButton = (props: CartProps): React.ReactElement => {
2222
badgeContent={
2323
props.cartItems.length > 0 ? props.cartItems.length : null
2424
}
25+
max={999}
2526
color="primary"
2627
>
2728
<ShoppingCartIcon />

0 commit comments

Comments
 (0)