diff --git a/client/src/app/site/motions/modules/shared-motion/motion-export-dialog/motion-export-dialog.component.ts b/client/src/app/site/motions/modules/shared-motion/motion-export-dialog/motion-export-dialog.component.ts index 853282f9a..305d6ab20 100644 --- a/client/src/app/site/motions/modules/shared-motion/motion-export-dialog/motion-export-dialog.component.ts +++ b/client/src/app/site/motions/modules/shared-motion/motion-export-dialog/motion-export-dialog.component.ts @@ -49,7 +49,7 @@ export class MotionExportDialogComponent implements OnInit { format: ExportFileFormat.PDF, content: ['text', 'reason'], pdfOptions: ['toc', 'page'], - metaInfo: ['submitters', 'state', 'recommendation', 'category', 'origin', 'tags', 'motion_block', 'polls', 'id'] + metaInfo: ['submitters', 'state', 'recommendation', 'category', 'origin', 'tags', 'motion_block', 'polls'] }; /** @@ -96,6 +96,9 @@ export class MotionExportDialogComponent implements OnInit { ) { this.defaults.lnMode = this.configService.instant('motions_default_line_numbering'); this.defaults.crMode = this.configService.instant('motions_recommendation_text_mode'); + if (this.configService.instant('motions_show_sequential_numbers')) { + this.defaults.metaInfo.push('id'); + } // Get the export order, exclude everything that does not count as meta-data this.metaInfoExportOrder = motionImportExportHeaderOrder.filter(metaData => { return !noMetaData.some(noMeta => metaData === noMeta);