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:
1 parent
1b57e5c58a
commit
9538df2eaf
2 files changed
+6
-1
No files matched your search
@@ -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>
|
</Text>
|
||||||
|
|
||||||
<div className="flex justify-end">
|
<div className="flex justify-end">
|
||||||
<Copy content={email} className="text-ui-fg-muted" />
|
<Copy content={phone} className="text-ui-fg-muted" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in new issue
Block a user