Skip to content

Commit

Permalink
Merge pull request #187 from sharetribe/fix-non-existent-link-to-tran…
Browse files Browse the repository at this point in the history
…sactionpage

Fix non existent link to transactionpage
  • Loading branch information
Gnito authored Jun 26, 2023
2 parents 3bb3a02 + fa68a17 commit 1b2206b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ way to update this template, but currently, we follow a pattern:

## Upcoming version 2023-XX-XX

- [fix] New message email template contained an old link that was not in use on the new Template.
[#187](https://github.com/sharetribe/web-template/pull/187)
- [fix] Add missing translation: StripeConnectAccountForm.missingStripeKey
[#186](https://github.com/sharetribe/web-template/pull/186)

Expand Down
14 changes: 14 additions & 0 deletions src/routing/routeConfiguration.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,13 @@ const routeConfiguration = (layoutConfig) => {
pageDataLoadingAPI.TransactionPage.loadData({ ...params, transactionRole: 'customer' }, ...rest),
setInitialValues: pageDataLoadingAPI.TransactionPage.setInitialValues,
},
{
path: '/order/:id/details',
name: 'OrderDetailsPageRedirect',
auth: true,
authPage: 'LoginPage',
component: props => <NamedRedirect name="OrderDetailsPage" params={{ id: props.params?.id }} />,
},
{
path: '/sale/:id',
name: 'SaleDetailsPage',
Expand All @@ -228,6 +235,13 @@ const routeConfiguration = (layoutConfig) => {
extraProps: { transactionRole: 'provider' },
loadData: pageDataLoadingAPI.TransactionPage.loadData,
},
{
path: '/sale/:id/details',
name: 'SaleDetailsPageRedirect',
auth: true,
authPage: 'LoginPage',
component: props => <NamedRedirect name="SaleDetailsPage" params={{ id: props.params?.id }} />,
},
{
path: '/listings',
name: 'ManageListingsPage',
Expand Down

0 comments on commit 1b2206b

Please sign in to comment.