fix(admin-ui): "cancel fulfillment" notification text (#3750)
* fix: "cancel fulfillment" notification text * fix: add changesets --------- Co-authored-by: fPolic <frane@medusajs.com>
This commit is contained in:
1 parent
c24c2a9732
commit
6f48cc57bc
2 files changed
+10
-1
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/admin-ui": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix(admin-ui): correct notification text on fulfillment cancel
|
||||||
@@ -84,7 +84,11 @@ export const FormattedFulfillment = ({
|
|||||||
default:
|
default:
|
||||||
return cancelFulfillment.mutate(fulfillment.id, {
|
return cancelFulfillment.mutate(fulfillment.id, {
|
||||||
onSuccess: () =>
|
onSuccess: () =>
|
||||||
notification("Success", "Successfully canceled order", "success"),
|
notification(
|
||||||
|
"Success",
|
||||||
|
"Successfully canceled fulfillment",
|
||||||
|
"success"
|
||||||
|
),
|
||||||
onError: (err) =>
|
onError: (err) =>
|
||||||
notification("Error", getErrorMessage(err), "error"),
|
notification("Error", getErrorMessage(err), "error"),
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in new issue
Block a user