RED-4891 manual changes included as delta

This commit is contained in:
Timo Bejan 2022-08-22 14:11:36 +03:00
parent bb02ee1fcd
commit de08815402

View File

@ -227,7 +227,8 @@ export class FileDataService extends EntitiesService<AnnotationWrapper, Annotati
changeLogType: ChangeType;
isChangeLogEntry: boolean;
} {
if (file.numberOfAnalyses <= 1 && !file.hasUpdates) {
const hasManualChanges = redactionLogEntry.manualChanges.length > 0;
if (file.numberOfAnalyses <= 1 && !file.hasUpdates && !hasManualChanges) {
return {
changeLogType: null,
isChangeLogEntry: false,