From 8b2c765fa47e8ca4fb098e893c1c6849fc6aa4fb Mon Sep 17 00:00:00 2001 From: Valentin Mihai Date: Sun, 23 Apr 2023 19:30:05 +0300 Subject: [PATCH] RED-6617 - Previously dict-based hint should become Ignored Hint --- apps/red-ui/src/app/models/file/annotation.wrapper.ts | 2 +- .../components/file-name-column/file-name-column.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/red-ui/src/app/models/file/annotation.wrapper.ts b/apps/red-ui/src/app/models/file/annotation.wrapper.ts index 0ed60fa91..eb1104ca8 100644 --- a/apps/red-ui/src/app/models/file/annotation.wrapper.ts +++ b/apps/red-ui/src/app/models/file/annotation.wrapper.ts @@ -494,7 +494,7 @@ export class AnnotationWrapper implements IListable, Record { if (lastManualChange.processed) { switch (lastManualChange.annotationStatus) { case LogEntryStatuses.APPROVED: - return redactionLogEntry.recommendation ? SuperTypes.Recommendation : SuperTypes.Skipped; + return redactionLogEntry.recommendation ? SuperTypes.Recommendation : SuperTypes.Hint; case LogEntryStatuses.DECLINED: return isHintDictionary ? SuperTypes.Hint : SuperTypes.Skipped; case LogEntryStatuses.REQUESTED: diff --git a/apps/red-ui/src/app/modules/shared/components/file-name-column/file-name-column.component.ts b/apps/red-ui/src/app/modules/shared/components/file-name-column/file-name-column.component.ts index 10aa75d18..4820fce78 100644 --- a/apps/red-ui/src/app/modules/shared/components/file-name-column/file-name-column.component.ts +++ b/apps/red-ui/src/app/modules/shared/components/file-name-column/file-name-column.component.ts @@ -1,7 +1,7 @@ import { ChangeDetectionStrategy, Component, Input, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { PrimaryFileAttributeService } from '@services/primary-file-attribute.service'; import { FileAttributes } from '@red/domain'; -import { ContextComponent } from '@iqser/common-ui'; +import { ContextComponent, ScrollableParentView, ScrollableParentViews } from '@iqser/common-ui'; import { FileAttributesService } from '@services/entity-services/file-attributes.service'; import { combineLatest, map, ReplaySubject } from 'rxjs';