Skip to content

Commit

Permalink
Check that lineItems exists in attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
OtterleyW committed May 7, 2019
1 parent 68d25e5 commit 339676a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/containers/TransactionPage/TransactionPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export const TransactionPageComponent = props => {
currentUser &&
currentTransaction.id &&
currentTransaction.id.uuid === params.id &&
currentTransaction.attributes.lineItems &&
currentTransaction.customer &&
currentTransaction.provider &&
!fetchTransactionError;
Expand Down

0 comments on commit 339676a

Please sign in to comment.