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:
5
.changeset/strange-files-cry.md
Normal file
5
.changeset/strange-files-cry.md
Normal file
@@ -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:
|
||||
return cancelFulfillment.mutate(fulfillment.id, {
|
||||
onSuccess: () =>
|
||||
notification("Success", "Successfully canceled order", "success"),
|
||||
notification(
|
||||
"Success",
|
||||
"Successfully canceled fulfillment",
|
||||
"success"
|
||||
),
|
||||
onError: (err) =>
|
||||
notification("Error", getErrorMessage(err), "error"),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user