feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -59,16 +59,14 @@ export function VendorsPhonebookAdd({ form, bodyshop, disabled }) {
|
||||
});
|
||||
|
||||
if (result.errors) {
|
||||
notification.open({
|
||||
type: "error",
|
||||
message: t("phonebook.errors.adding", {
|
||||
notification.error({
|
||||
title: t("phonebook.errors.adding", {
|
||||
error: JSON.stringify(result.errors)
|
||||
})
|
||||
});
|
||||
} else {
|
||||
notification.open({
|
||||
type: "success",
|
||||
message: t("phonebook.successes.added")
|
||||
notification.success({
|
||||
title: t("phonebook.successes.added")
|
||||
});
|
||||
}
|
||||
setLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user