fix(dashboard): copy phone on order customer info (#13596)

In the order details page, clicking the copy button for customer phone number was incorrectly copying the email address instead of the phone number.

Co-authored-by: William Bouchard <46496014+willbouch@users.noreply.github.com>
This commit is contained in:
Bastien
2025-09-25 19:03:59 +02:00
committed by GitHub
parent 1b57e5c58a
commit 9538df2eaf
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/dashboard": patch
---
fix(dashboard): copy phone on order customer info

View File

@@ -93,7 +93,7 @@ const Contact = ({ data }: { data: HttpTypes.AdminOrder }) => {
</Text>
<div className="flex justify-end">
<Copy content={email} className="text-ui-fg-muted" />
<Copy content={phone} className="text-ui-fg-muted" />
</div>
</div>
)}