From e74b56cd57d5a10ca2fd7d6aff52c82ee528f085 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Fri, 20 Aug 2021 19:13:58 +0100 Subject: [PATCH] Fix --- .../new-publication/new-publication.page.ts | 2 +- .../pages/publications/publications.page.html | 2 +- src/app/pages/search/search.page.ts | 30 ------------------- 3 files changed, 2 insertions(+), 32 deletions(-) diff --git a/src/app/pages/publications/new-publication/new-publication.page.ts b/src/app/pages/publications/new-publication/new-publication.page.ts index 6ecaa3d5d..e80885009 100644 --- a/src/app/pages/publications/new-publication/new-publication.page.ts +++ b/src/app/pages/publications/new-publication/new-publication.page.ts @@ -81,7 +81,7 @@ export class NewPublicationPage implements OnInit { takePicture() { const options: CameraOptions = { - quality: 90, + quality: 50, destinationType: this.camera.DestinationType.DATA_URL, encodingType: this.camera.EncodingType.JPEG, mediaType: this.camera.MediaType.PICTURE, diff --git a/src/app/pages/publications/publications.page.html b/src/app/pages/publications/publications.page.html index f2b4a694e..25305ce60 100644 --- a/src/app/pages/publications/publications.page.html +++ b/src/app/pages/publications/publications.page.html @@ -39,7 +39,7 @@
- diff --git a/src/app/pages/search/search.page.ts b/src/app/pages/search/search.page.ts index 997d4b359..2f085ee99 100644 --- a/src/app/pages/search/search.page.ts +++ b/src/app/pages/search/search.page.ts @@ -622,34 +622,4 @@ export class SearchPage implements OnInit { } - // async openExpedientActionsModal(doc: SearchDocument) { - - // let customTask: task = { - // serialNumber: doc.SourceId, - // taskStartDate: doc.CreateDate, - // isEvent: true, - // workflowInstanceDataFields: { - // FolderID: , - // Subject: , - // SourceSecFsID: , - // SourceType: , - // SourceID: , - // FolderID: null, - // DocId: doc.SourceId, - // Subject: doc.SourceName, - // }, - // } - - // const popover = await this.modalController.create({ - // component: OptsExpedientePage, - // cssClass: 'model aside-modal search-submodal', - // componentProps: { - // fulltask: customTask, - // task: customTask - // }, - // //translucent: true - // }); - // return await popover.present(); - // } - }