Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check that lineItems exists in transaction attributes #1082

Merged
merged 2 commits into from
May 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ way to update this template, but currently, we follow a pattern:

## Upcoming version 2019-XX-XX

- [fix] Ensure on `TransactionPage` that all the required data is loaded before showing the page.
[#1080](https://github.com/sharetribe/flex-template-web/pull/1080),
- [fix] Use proper method for Sentry on logout to avoid error message.
[#1082](https://github.com/sharetribe/flex-template-web/pull/1082)
- [change] Update sharetribe-scripts (CRA fork) to v2.1.8. There are a couple of changes that you
should check from [#1073](https://github.com/sharetribe/flex-template-web/pull/1073)
- package.json has now a "browserlist" configuration key. This gives you an option to affect
Expand Down
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