Skip to content

Commit

Permalink
fix: update purchase success message for saas (#651)
Browse files Browse the repository at this point in the history
* fix: update purchase success message based on payment mode

* fix: update success message to reflect redirect URL presence
  • Loading branch information
KevinRohlf authored Jan 20, 2025
1 parent 37a92e5 commit 8b30ed1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Asset/AssetActions/Download/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,10 @@ export default function Download({
<div className={styles.confettiContainer}>
<SuccessConfetti
success={`You successfully bought this ${
asset.metadata.type
asset?.metadata?.additionalInformation?.saas?.redirectUrl
?.length > 0
? 'service'
: asset.metadata.type
} and are now able to ${
asset?.metadata?.additionalInformation?.saas
? 'access'
Expand Down

0 comments on commit 8b30ed1

Please sign in to comment.