From 31f8b745730677e0b8b396dd7189dbb2f1f79c8d Mon Sep 17 00:00:00 2001 From: Edi Cziszter Date: Thu, 27 Jan 2022 21:57:45 +0200 Subject: [PATCH] annotationModificationDate instead of lastModified --- .../components/table-item/table-item.component.html | 2 +- libs/red-domain/src/lib/files/file.model.ts | 2 ++ libs/red-domain/src/lib/files/file.ts | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/red-ui/src/app/modules/dossier/screens/dossier-overview/components/table-item/table-item.component.html b/apps/red-ui/src/app/modules/dossier/screens/dossier-overview/components/table-item/table-item.component.html index 2d09dd745..23d443a1f 100644 --- a/apps/red-ui/src/app/modules/dossier/screens/dossier-overview/components/table-item/table-item.component.html +++ b/apps/red-ui/src/app/modules/dossier/screens/dossier-overview/components/table-item/table-item.component.html @@ -7,7 +7,7 @@
- +
diff --git a/libs/red-domain/src/lib/files/file.model.ts b/libs/red-domain/src/lib/files/file.model.ts index f57b0131a..ad1c1e501 100644 --- a/libs/red-domain/src/lib/files/file.model.ts +++ b/libs/red-domain/src/lib/files/file.model.ts @@ -9,6 +9,7 @@ export class File extends Entity 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 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; diff --git a/libs/red-domain/src/lib/files/file.ts b/libs/red-domain/src/lib/files/file.ts index fc40856ea..a93082aa8 100644 --- a/libs/red-domain/src/lib/files/file.ts +++ b/libs/red-domain/src/lib/files/file.ts @@ -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.