mirror of
https://github.com/jcreek/PlannerGenerator.git
synced 2026-07-12 18:43:51 +00:00
feat(*): Rename output file
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
console.log(pages[0]);
|
console.log(pages[0]);
|
||||||
const pdfOptions = {
|
const pdfOptions = {
|
||||||
margin: 0,
|
margin: 0,
|
||||||
filename: 'output.pdf',
|
filename: `planner-${year}.pdf`,
|
||||||
jsPDF: {
|
jsPDF: {
|
||||||
unit: 'mm',
|
unit: 'mm',
|
||||||
format: 'a4',
|
format: 'a4',
|
||||||
|
|||||||
Reference in New Issue
Block a user