annotationModificationDate instead of lastModified

This commit is contained in:
Edi Cziszter 2022-01-27 21:57:45 +02:00
parent 47fd10bc11
commit 31f8b74573
3 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,7 @@
</div>
<div class="cell">
<redaction-date-column [date]="file.lastUpdated" [isError]="file.isError"></redaction-date-column>
<redaction-date-column [date]="file.annotationModificationDate" [isError]="file.isError"></redaction-date-column>
</div>
<div *ngFor="let config of displayedAttributes" class="cell">

View File

@ -9,6 +9,7 @@ export class File extends Entity<IFile> implements IFile {
readonly allManualRedactionsApplied: boolean;
readonly analysisDuration?: number;
readonly analysisRequired: boolean;
readonly annotationModificationDate?: string;
readonly approvalDate?: string;
readonly assignee?: string;
readonly dictionaryVersion?: number;
@ -60,6 +61,7 @@ export class File extends Entity<IFile> implements IFile {
this.allManualRedactionsApplied = !!file.allManualRedactionsApplied;
this.analysisDuration = file.analysisDuration;
this.analysisRequired = !!file.analysisRequired && !file.excluded;
this.annotationModificationDate = file.annotationModificationDate;
this.approvalDate = file.approvalDate;
this.assignee = file.assignee;
this.dictionaryVersion = file.dictionaryVersion;

View File

@ -32,6 +32,7 @@ export interface IFile {
/**
* Shows which dictionary versions was used during the analysis.
*/
readonly annotationModificationDate?: string;
readonly dictionaryVersion?: number;
/**
* Shows which dossier dictionary versions was used during the analysis.