mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 12:43:11 +10:00
TransactionPage can handle deleted listing
This commit is contained in:
parent
921cd9e27a
commit
fcfc069df7
1 changed files with 4 additions and 1 deletions
|
|
@ -71,7 +71,10 @@ export const TransactionPageComponent = props => {
|
|||
|
||||
const currentTransaction = ensureTransaction(transaction);
|
||||
const currentListing = ensureListing(currentTransaction.listing);
|
||||
const listingTitle = currentListing.attributes.title;
|
||||
const deletedListingTitle = intl.formatMessage({
|
||||
id: 'TransactionPage.deletedListing',
|
||||
});
|
||||
const listingTitle = currentListing.attributes.title || deletedListingTitle;
|
||||
|
||||
// Redirect users with someone else's direct link to their own inbox/sales or inbox/orders page.
|
||||
const isDataAvailable =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue