Skip to content

Commit

Permalink
fix: Regroup bundle items
Browse files Browse the repository at this point in the history
  • Loading branch information
acasazza committed Jan 17, 2022
1 parent 7450b16 commit 88c6d30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/LineItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const LineItem: FunctionComponent<LineItemProps> = (props) => {
items
.filter((l) => l.item_type === type)
.map((lineItem, k) => {
if (lineItem.item_type === 'bundles' && k > 0) return null
const lineProps = {
lineItem,
}
Expand Down

0 comments on commit 88c6d30

Please sign in to comment.