From c4899dbd883a53c441f5087cfece53cb729e1482 Mon Sep 17 00:00:00 2001 From: Timo Bejan Date: Sat, 19 Mar 2022 21:28:45 +0200 Subject: [PATCH] cleanup --- .../file-preview/components/pdf-viewer/pdf-viewer.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/red-ui/src/app/modules/file-preview/components/pdf-viewer/pdf-viewer.component.ts b/apps/red-ui/src/app/modules/file-preview/components/pdf-viewer/pdf-viewer.component.ts index 314c1a1a9..58015f867 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/pdf-viewer/pdf-viewer.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/components/pdf-viewer/pdf-viewer.component.ts @@ -45,6 +45,7 @@ import { fromEvent } from 'rxjs'; import Tools = Core.Tools; import TextTool = Tools.TextTool; import Annotation = Core.Annotations.Annotation; +import { FileDataService } from '../../services/file-data.service'; function getDivider(hiddenOn?: readonly ('desktop' | 'mobile' | 'tablet')[]) { return { @@ -87,6 +88,7 @@ export class PdfViewerComponent extends AutoUnsubscribe implements OnInit, OnCha private readonly _loadingService: LoadingService, private readonly _fileManagementService: FileManagementService, private readonly _pageRotationService: PageRotationService, + private readonly _fileDataService: FileDataService, readonly stateService: FilePreviewStateService, readonly viewModeService: ViewModeService, readonly multiSelectService: MultiSelectService,