feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -44,16 +44,15 @@ export function JobsDocumentsLocalDeleteButton({ bodyshop, getJobMedia, allMedia
|
||||
);
|
||||
|
||||
if (delres.errors) {
|
||||
notification["error"]({
|
||||
message: t("documents.errors.deleting", {
|
||||
notification.error({
|
||||
title: t("documents.errors.deleting", {
|
||||
message: JSON.stringify(delres.errors)
|
||||
})
|
||||
});
|
||||
} else {
|
||||
notification.open({
|
||||
notification.success({
|
||||
key: "docdeletedsuccesfully",
|
||||
type: "success",
|
||||
message: t("documents.successes.delete")
|
||||
title: t("documents.successes.delete")
|
||||
});
|
||||
}
|
||||
getJobMedia(jobid);
|
||||
|
||||
Reference in New Issue
Block a user