feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -93,17 +93,15 @@ export function TimeTickeTaskModalContainer({ currentUser, technician, timeTicke
|
||||
form.setFieldsValue({ timetickets: data.ticketsToInsert });
|
||||
setUnassignedHours(data.unassignedHours);
|
||||
} else {
|
||||
notification.open({
|
||||
type: "error",
|
||||
message: t("timetickets.errors.creating", {
|
||||
notification.error({
|
||||
title: t("timetickets.errors.creating", {
|
||||
message: JSON.stringify(data)
|
||||
})
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
notification.open({
|
||||
type: "error",
|
||||
message: t("timetickets.errors.creating", { message: error.message })
|
||||
notification.error({
|
||||
title: t("timetickets.errors.creating", { message: error.message })
|
||||
});
|
||||
} finally {
|
||||
setLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user