feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -69,14 +69,14 @@ export function ScoreboardAddButton({ bodyshop, job, disabled, ...otherBtnProps
|
||||
}
|
||||
|
||||
if (result.errors) {
|
||||
notification["error"]({
|
||||
message: t("scoreboard.errors.adding", {
|
||||
notification.error({
|
||||
title: t("scoreboard.errors.adding", {
|
||||
message: JSON.stringify(result.errors)
|
||||
})
|
||||
});
|
||||
} else {
|
||||
notification["success"]({
|
||||
message: t("scoreboard.successes.added")
|
||||
notification.success({
|
||||
title: t("scoreboard.successes.added")
|
||||
});
|
||||
}
|
||||
setLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user