From 891ebc6c79079b1306bce4c293d8d04cee21be10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adina=20=C8=9Aeudan?= Date: Thu, 10 Mar 2022 13:24:30 +0200 Subject: [PATCH] Update pdftron version --- .../components/file-workload/file-workload.component.ts | 2 +- apps/red-ui/src/environments/environment.prod.ts | 4 ++-- apps/red-ui/src/environments/environment.ts | 4 ++-- package.json | 2 +- yarn.lock | 8 ++++---- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/components/file-workload/file-workload.component.ts b/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/components/file-workload/file-workload.component.ts index 1b9a86093..6bb4db0f4 100644 --- a/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/components/file-workload/file-workload.component.ts +++ b/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/components/file-workload/file-workload.component.ts @@ -330,7 +330,7 @@ export class FileWorkloadComponent { if (pageIdx) { // If not first page - for (let i = previousPageIdx; i > 0; i--) { + for (let i = previousPageIdx; i >= 0; i--) { const prevPageAnnotations = this.displayedAnnotations.get(this.displayedPages[i]); if (prevPageAnnotations) { this.selectAnnotations.emit([prevPageAnnotations[prevPageAnnotations.length - 1]]); diff --git a/apps/red-ui/src/environments/environment.prod.ts b/apps/red-ui/src/environments/environment.prod.ts index cadbc6345..5002a2439 100644 --- a/apps/red-ui/src/environments/environment.prod.ts +++ b/apps/red-ui/src/environments/environment.prod.ts @@ -1,6 +1,6 @@ export const environment = { production: true, licenseKey: - 'S25lY29uIEFHKGVuLmtuZWNvbi5zd2lzcyk6T0VNOkREQS1SOjpCKzpBTVMoMjAyMTEwMjkpOkNGQ0MwRDMzMDd' + - 'EQUI0RjM0QjMxM0JDOUIyNDMzODJDNEU2RjZGQ0I4M0NEOEFDNTc0MzU4QTk1OTczMEI2MjJGQUJFRjVDNw==', + 'S25lY29uIEFHKGVuLmtuZWNvbi5zd2lzcyk6T0VNOkREQS1SOjpCKzpBTVMoMj' + + 'AyMjEwMjkpOkZGQ0M0RDMzMDdEQUI0RjM4QjMxM0JDOUIyNDMzODJDNEU2RjZGQ0I4M0NEOEFDNTc0MzU4QTk1OTczMEI2MjJGQUJFRjVDNw==', }; diff --git a/apps/red-ui/src/environments/environment.ts b/apps/red-ui/src/environments/environment.ts index dbe1e6051..541035b3e 100644 --- a/apps/red-ui/src/environments/environment.ts +++ b/apps/red-ui/src/environments/environment.ts @@ -1,6 +1,6 @@ export const environment = { production: false, licenseKey: - 'S25lY29uIEFHKGVuLmtuZWNvbi5zd2lzcyk6T0VNOkREQS1SOjpCKzpBTVMoMjAyMTEwMjkpOkNGQ0MwRDMzMDd' + - 'EQUI0RjM0QjMxM0JDOUIyNDMzODJDNEU2RjZGQ0I4M0NEOEFDNTc0MzU4QTk1OTczMEI2MjJGQUJFRjVDNw==', + 'S25lY29uIEFHKGVuLmtuZWNvbi5zd2lzcyk6T0VNOkREQS1SOjpCKzpBTVMoMj' + + 'AyMjEwMjkpOkZGQ0M0RDMzMDdEQUI0RjM4QjMxM0JDOUIyNDMzODJDNEU2RjZGQ0I4M0NEOEFDNTc0MzU4QTk1OTczMEI2MjJGQUJFRjVDNw==', }; diff --git a/package.json b/package.json index 787f312b9..5daf4ddc5 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@ngx-translate/core": "^14.0.0", "@ngx-translate/http-loader": "^7.0.0", "@nrwl/angular": "13.6.1", - "@pdftron/webviewer": "8.2.0", + "@pdftron/webviewer": "8.3.0", "@swimlane/ngx-charts": "^20.0.1", "file-saver": "^2.0.5", "jwt-decode": "^3.1.2", diff --git a/yarn.lock b/yarn.lock index b119ae5ec..2d0ba0076 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2310,10 +2310,10 @@ node-addon-api "^3.2.1" node-gyp-build "^4.3.0" -"@pdftron/webviewer@8.2.0": - version "8.2.0" - resolved "https://registry.yarnpkg.com/@pdftron/webviewer/-/webviewer-8.2.0.tgz#74c8f173193807282eeb578b566f0e200eaa875b" - integrity sha512-rM/nVQy6OBSqR9DjHubXLVpputa1jtuSqIMGxHttPZLfjVS0zrAOuXE/m2xFPa1Jtobb1XJqKBks7uYhJxfHMQ== +"@pdftron/webviewer@8.3.0": + version "8.3.0" + resolved "https://registry.yarnpkg.com/@pdftron/webviewer/-/webviewer-8.3.0.tgz#94be7a0387923e3be6b7f08737a281fd0c55e3a1" + integrity sha512-nrWNOgT0uEejARpgle9YT/K+pyHwHLk3wTtyOGk6cRTcA+lAlBZZQ2bzvzvChodQJRWuBHEb/+J7PUoe2HxqRg== "@phenomnomnominal/tsquery@4.1.1", "@phenomnomnominal/tsquery@^4.1.1": version "4.1.1"