Consider show-seq-number config during pdf export
If not stated in the export dialog, the sequential motion number will not be printed in the PDF if the config option is unset
This commit is contained in:
parent
96f96f09ee
commit
629ad4ec1f
@ -115,7 +115,8 @@ export class MotionPdfService {
|
||||
}
|
||||
|
||||
const title = this.createTitle(motion, crMode, lineLength);
|
||||
const sequential = !infoToExport || infoToExport.includes('id');
|
||||
const sequential =
|
||||
infoToExport?.includes('id') ?? this.configService.instant<boolean>('motions_show_sequential_numbers');
|
||||
const subtitle = this.createSubtitle(motion, sequential);
|
||||
|
||||
motionPdfContent = [title, subtitle];
|
||||
|
Loading…
Reference in New Issue
Block a user