feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -57,9 +57,8 @@ export function TimeTicketsCommit({ currentUser, timeticket, setTimeTicketContex
|
||||
}
|
||||
});
|
||||
if (result.errors) {
|
||||
notification.open({
|
||||
type: "error",
|
||||
message: t("timetickets.errors.creating", {
|
||||
notification.error({
|
||||
title: t("timetickets.errors.creating", {
|
||||
message: JSON.stringify(result.errors)
|
||||
})
|
||||
});
|
||||
@@ -70,9 +69,8 @@ export function TimeTicketsCommit({ currentUser, timeticket, setTimeTicketContex
|
||||
timeticket: result.data.update_timetickets.returning[0]
|
||||
}
|
||||
});
|
||||
notification.open({
|
||||
type: "success",
|
||||
message: t("timetickets.successes.committed")
|
||||
notification.success({
|
||||
title: t("timetickets.successes.committed")
|
||||
});
|
||||
}
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user