feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -24,12 +24,12 @@ export default function ProductionRemoveButton({ jobId }) {
|
||||
});
|
||||
|
||||
if (!result.errors) {
|
||||
notification["success"]({ message: t("production.successes.removed") });
|
||||
notification.success({ title: t("production.successes.removed") });
|
||||
delete search.selected;
|
||||
history({ search: queryString.stringify(search) });
|
||||
} else {
|
||||
notification["error"]({
|
||||
message: t("production.errors.removing", {
|
||||
notification.error({
|
||||
title: t("production.errors.removing", {
|
||||
error: JSON.stringify(result.errors)
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user