diff --git a/apps/red-ui/src/app/modules/file-preview/components/highlights-separator/highlights-separator.component.html b/apps/red-ui/src/app/modules/file-preview/components/highlights-separator/highlights-separator.component.html index 835c7eb11..b65301916 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/highlights-separator/highlights-separator.component.html +++ b/apps/red-ui/src/app/modules/file-preview/components/highlights-separator/highlights-separator.component.html @@ -3,7 +3,7 @@ -
+
diff --git a/apps/red-ui/src/app/modules/file-preview/components/highlights-separator/highlights-separator.component.ts b/apps/red-ui/src/app/modules/file-preview/components/highlights-separator/highlights-separator.component.ts index f9dffcb20..cd0f1bc3b 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/highlights-separator/highlights-separator.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/components/highlights-separator/highlights-separator.component.ts @@ -5,6 +5,7 @@ import { FilePreviewStateService } from '../../services/file-preview-state.servi import { AnnotationWrapper } from '@models/file/annotation.wrapper'; import { FilePreviewDialogService } from '../../services/file-preview-dialog.service'; import { FileDataService } from '../../services/file-data.service'; +import { MultiSelectService } from '../../services/multi-select.service'; @Component({ selector: 'redaction-highlights-separator [highlightGroup] [annotation]', @@ -19,11 +20,13 @@ export class HighlightsSeparatorComponent { readonly circleButtonTypes = CircleButtonTypes; readonly isWritable$ = this._state.isWritable$; + readonly multiSelectInactive$ = this._multiSelectService.inactive$; constructor( private readonly _dialogService: FilePreviewDialogService, private readonly _state: FilePreviewStateService, private readonly _fileDataService: FileDataService, + private readonly _multiSelectService: MultiSelectService, ) {} convertHighlights(highlightGroup: TextHighlightsGroup): void {