From c9ac77e195f051a1083ee83f539e6e9030b689f7 Mon Sep 17 00:00:00 2001 From: Dan Percic Date: Sun, 14 Aug 2022 15:51:20 +0300 Subject: [PATCH] RED-4640: remove some strings --- apps/red-ui/src/app/app.module.ts | 2 +- .../annotations-list.component.ts | 2 +- .../view-switch/view-switch.component.html | 16 ++++++++-------- .../view-switch/view-switch.component.ts | 3 ++- libs/common-ui | 2 +- 5 files changed, 13 insertions(+), 12 deletions(-) diff --git a/apps/red-ui/src/app/app.module.ts b/apps/red-ui/src/app/app.module.ts index a252c7d9a..2ff297c5b 100644 --- a/apps/red-ui/src/app/app.module.ts +++ b/apps/red-ui/src/app/app.module.ts @@ -116,7 +116,7 @@ export const appModuleFactory = (config: AppConfig) => { enabled: false, }, PDF: { - enabled: false, + enabled: true, }, FILE: { enabled: false, diff --git a/apps/red-ui/src/app/modules/file-preview/components/annotations-list/annotations-list.component.ts b/apps/red-ui/src/app/modules/file-preview/components/annotations-list/annotations-list.component.ts index 006c4fe0e..8aa358fdd 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/annotations-list/annotations-list.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/components/annotations-list/annotations-list.component.ts @@ -32,7 +32,7 @@ export class AnnotationsListComponent extends HasScrollbarDirective implements O @Output() readonly pagesPanelActive = new EventEmitter(); - highlightGroups$ = new BehaviorSubject([]); + readonly highlightGroups$ = new BehaviorSubject([]); constructor( protected readonly _elementRef: ElementRef, diff --git a/apps/red-ui/src/app/modules/file-preview/components/view-switch/view-switch.component.html b/apps/red-ui/src/app/modules/file-preview/components/view-switch/view-switch.component.html index 3e92697a8..120ec09dc 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/view-switch/view-switch.component.html +++ b/apps/red-ui/src/app/modules/file-preview/components/view-switch/view-switch.component.html @@ -1,7 +1,7 @@