Skip to content

Commit

Permalink
fix #8137 (#8936)
Browse files Browse the repository at this point in the history
  • Loading branch information
cweitat authored Jul 7, 2023
1 parent 5ae4b90 commit 298fd20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/orders/order-summary.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class OrderSummary extends Component.extend(FormMixin) {
@computed('data.tickets', '[email protected]')
get total() {
return sumBy(this.data.tickets.toArray(),
ticket => (ticket.get('price') ?? 0 - ticket.get('discount') ?? 0) * ticket.get('attendees.length') ?? 0
ticket => ((ticket.get('price') ?? 0 - ticket.get('discount') ?? 0)) * ticket.get('attendees.length') ?? 0
);
}

Expand Down

1 comment on commit 298fd20

@vercel
Copy link

@vercel vercel bot commented on 298fd20 Jul 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.