IO-948 Vendor add to phonebook
This commit is contained in:
@@ -77,7 +77,7 @@ function PhonebookFormContainer({ refetch, bodyshop }) {
|
||||
|
||||
if (!result.errors) {
|
||||
notification["success"]({
|
||||
message: t("Phonebook.successes.saved"),
|
||||
message: t("phonebook.successes.saved"),
|
||||
});
|
||||
|
||||
if (refetch) await refetch();
|
||||
@@ -87,7 +87,9 @@ function PhonebookFormContainer({ refetch, bodyshop }) {
|
||||
setFormLoading(false);
|
||||
} else {
|
||||
notification["error"]({
|
||||
message: t("Phonebook.errors.saving"),
|
||||
message: t("phonebook.errors.saving", {
|
||||
error: JSON.stringify(result.errors),
|
||||
}),
|
||||
});
|
||||
|
||||
setFormLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user