Merge pull request #5736 from tsiegleauq/hide-motion-id-in-pdf
Consider show-seq-number config during pdf export
This commit is contained in:
commit
00b148edbd
@ -115,7 +115,8 @@ export class MotionPdfService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const title = this.createTitle(motion, crMode, lineLength);
|
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);
|
const subtitle = this.createSubtitle(motion, sequential);
|
||||||
|
|
||||||
motionPdfContent = [title, subtitle];
|
motionPdfContent = [title, subtitle];
|
||||||
|
Loading…
Reference in New Issue
Block a user