diff --git a/client/src/components/documents-local-upload/documents-local-upload.utility.js b/client/src/components/documents-local-upload/documents-local-upload.utility.js index 1b36a9275..ad53b7f4a 100644 --- a/client/src/components/documents-local-upload/documents-local-upload.utility.js +++ b/client/src/components/documents-local-upload/documents-local-upload.utility.js @@ -2,6 +2,8 @@ import cleanAxios from "../../utils/CleanAxios"; import { store } from "../../redux/store"; import { addMediaForJob } from "../../redux/media/media.actions"; import normalizeUrl from "normalize-url"; +import { notification } from "antd"; +import i18n from "i18next"; export const handleUpload = async ({ ev, context }) => { const { onError, onSuccess, onProgress, file } = ev; @@ -45,6 +47,11 @@ export const handleUpload = async ({ ev, context }) => { } } else { onSuccess && onSuccess(file); + notification.open({ + type: "success", + key: "docuploadsuccess", + message: i18n.t("documents.successes.insert"), + }); store.dispatch( addMediaForJob({ jobid,