RED-7634 - Hide "Skipped" button not working as expected
This commit is contained in:
parent
2df87f4f16
commit
034aa78842
@ -247,7 +247,10 @@ export class FilePreviewScreenComponent
|
||||
.filter(a => !bool(a.getCustomData('changeLogRemoved')) && !this._annotationManager.isHidden(a.Id))
|
||||
.filter(a => !ocrAnnotationIds.includes(a.Id));
|
||||
const nonStandardEntries = annotations.filter(
|
||||
a => bool(a.getCustomData('changeLogRemoved')) || this._annotationManager.isHidden(a.Id),
|
||||
a =>
|
||||
bool(a.getCustomData('changeLogRemoved')) ||
|
||||
this._annotationManager.isHidden(a.Id) ||
|
||||
(this._skippedService.hideSkipped() && bool(a.getCustomData('skipped'))),
|
||||
);
|
||||
this._readableRedactionsService.setAnnotationsColor(standardEntries, 'annotationColor');
|
||||
this._readableRedactionsService.setAnnotationsOpacity(standardEntries, true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user