feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -78,12 +78,12 @@ export function ShopEmployeeTeamsFormComponent({ bodyshop }) {
|
||||
}
|
||||
});
|
||||
if (!result.errors) {
|
||||
notification["success"]({
|
||||
message: t("employees.successes.save")
|
||||
notification.success({
|
||||
title: t("employees.successes.save")
|
||||
});
|
||||
} else {
|
||||
notification["error"]({
|
||||
message: t("employees.errors.save", {
|
||||
notification.error({
|
||||
title: t("employees.errors.save", {
|
||||
message: JSON.stringify(error)
|
||||
})
|
||||
});
|
||||
@@ -104,8 +104,8 @@ export function ShopEmployeeTeamsFormComponent({ bodyshop }) {
|
||||
}).then((r) => {
|
||||
search.employeeTeamId = r.data.insert_employee_teams_one.id;
|
||||
history({ search: querystring.stringify(search) });
|
||||
notification["success"]({
|
||||
message: t("employees.successes.save")
|
||||
notification.success({
|
||||
title: t("employees.successes.save")
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user