From 62cd5046160f10cad4426b6ee14451447a46267f Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 27 Nov 2023 21:51:28 -0800 Subject: [PATCH] Update angular.json Update angular.json Force viewer US locale since we dont use viewer UI --- src-ui/angular.json | 9 ++++++++- .../document-detail/document-detail.component.html | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src-ui/angular.json b/src-ui/angular.json index 605835c5e..053ea6b1c 100644 --- a/src-ui/angular.json +++ b/src-ui/angular.json @@ -65,8 +65,15 @@ "src/assets", "src/manifest.webmanifest", { - "glob": "**/*", "input": "node_modules/ngx-extended-pdf-viewer/assets/", + "glob": "**/locale/en-US/?*.properties", + "ignore": ["**/additional-locale/*"], + "output": "/assets/" + }, + { + "input": "node_modules/ngx-extended-pdf-viewer/assets/", + "glob": "**/*.min.js", + "ignore": ["*-es5\\.*"], "output": "/assets/" } ], diff --git a/src-ui/src/app/components/document-detail/document-detail.component.html b/src-ui/src/app/components/document-detail/document-detail.component.html index 331cdd7a0..102685fc0 100644 --- a/src-ui/src/app/components/document-detail/document-detail.component.html +++ b/src-ui/src/app/components/document-detail/document-detail.component.html @@ -258,6 +258,7 @@ (beforePrint)="onBeforePrint()" (afterPrint)="onAfterPrint()" (progress)="onProgress($event)" + language="en-US" [(page)]="previewCurrentPage">