feature/IO-3499-React-19: Bug Fixes / Checkpoint

This commit is contained in:
Dave
2026-01-13 22:28:43 -05:00
parent 7bdfbfabe9
commit 53d556a621
171 changed files with 1128 additions and 954 deletions

View File

@@ -38,14 +38,14 @@ export default function ShopEmployeeAddVacation({ employee }) {
});
if (result.errors) {
notification["error"]({
message: t("employees.errors.adding", {
notification.error({
title: t("employees.errors.adding", {
message: JSON.stringify(result.errors)
})
});
} else {
notification["success"]({
message: t("employees.successes.vacationadded")
notification.success({
title: t("employees.successes.vacationadded")
});
}
form.resetFields();

View File

@@ -84,13 +84,13 @@ export function ShopEmployeesFormComponent({ bodyshop }) {
}
})
.then(() => {
notification["success"]({
message: t("employees.successes.save")
notification.success({
title: t("employees.successes.save")
});
})
.catch((error) => {
notification["error"]({
message: t("employees.errors.save", {
notification.error({
title: t("employees.errors.save", {
message: JSON.stringify(error)
})
});
@@ -105,8 +105,8 @@ export function ShopEmployeesFormComponent({ bodyshop }) {
}).then((r) => {
search.employeeId = r.data.insert_employees.returning[0].id;
history({ search: queryString.stringify(search) });
notification["success"]({
message: t("employees.successes.save")
notification.success({
title: t("employees.successes.save")
});
});
}