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:
5
.changeset/chatty-garlics-kick.md
Normal file
5
.changeset/chatty-garlics-kick.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/dashboard": patch
|
||||
---
|
||||
|
||||
fix(dashboard): copy phone on order customer info
|
||||
@@ -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>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user