1
0
Fork 0

fix(shared): Initialize cover page strings for all PDFs, not just ones for printing

This commit is contained in:
Benjamin Fan 2024-02-18 06:56:23 -08:00
parent 369d95ceb0
commit 8810ad457a

View file

@ -176,14 +176,14 @@ export const handleExport = async ({
setPatternSize: true,
})
)
}
// add the strings that are used on the cover page
workerArgs.strings = {
design: capitalize(design),
tagline: t('common:slogan1') + '. ' + t('common:slogan2'),
url: window.location.href,
cuttingLayout: t('cut:cuttingLayout'),
}
// add the strings that are used on the cover page
workerArgs.strings = {
design: capitalize(design),
tagline: t('common:slogan1') + '. ' + t('common:slogan2'),
url: window.location.href,
cuttingLayout: t('cut:cuttingLayout'),
}
// Initialize the pattern stores