RED-4169 - in case of archive and skip option, do not send anything to the backend

This commit is contained in:
Valentin Mihai 2022-06-16 17:25:01 +03:00
parent bfa71e821a
commit e9cfca3c51

View File

@ -84,7 +84,7 @@ export class FileUploadService extends GenericService<IFileUploadResult> impleme
file.keepManualRedactions = true;
}
if (res.option === OverwriteFileOptions.SKIP) {
delete file.keepManualRedactions;
files = [];
}
} else if (dossierFiles.find(pf => pf.filename === file.file.name)) {
if (!option) {