From d962e55feefc91a4735c27ee36b497f60a2d7605 Mon Sep 17 00:00:00 2001 From: Sean Engelhardt Date: Mon, 2 Dec 2019 12:54:27 +0100 Subject: [PATCH] Remove option for inline line number PDF - removes the option to export PDF as inline, since it's not working atm - motions that would be exported with inline line number would be exported with outside line numbers --- .../components/motion-detail/motion-detail.component.ts | 2 +- .../motion-export-dialog/motion-export-dialog.component.html | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/app/site/motions/modules/motion-detail/components/motion-detail/motion-detail.component.ts b/client/src/app/site/motions/modules/motion-detail/components/motion-detail/motion-detail.component.ts index 8539a1fff..717fbf42b 100644 --- a/client/src/app/site/motions/modules/motion-detail/components/motion-detail/motion-detail.component.ts +++ b/client/src/app/site/motions/modules/motion-detail/components/motion-detail/motion-detail.component.ts @@ -1352,7 +1352,7 @@ export class MotionDetailComponent extends BaseViewComponent implements OnInit, */ public onDownloadPdf(): void { this.pdfExport.exportSingleMotion(this.motion, { - lnMode: this.lnMode, + lnMode: this.lnMode === this.LineNumberingMode.Inside ? this.LineNumberingMode.Outside : this.lnMode, crMode: this.crMode, comments: this.motion.commentSectionIds.concat([PERSONAL_NOTE_ID]) // export all comment fields as well as personal note }); diff --git a/client/src/app/site/motions/modules/shared-motion/motion-export-dialog/motion-export-dialog.component.html b/client/src/app/site/motions/modules/shared-motion/motion-export-dialog/motion-export-dialog.component.html index ab69587f2..8c24485ea 100644 --- a/client/src/app/site/motions/modules/shared-motion/motion-export-dialog/motion-export-dialog.component.html +++ b/client/src/app/site/motions/modules/shared-motion/motion-export-dialog/motion-export-dialog.component.html @@ -16,7 +16,6 @@

Line numbering

None - Inline Outside