fix(shared): Initialize cover page strings for all PDFs, not just ones for printing
This commit is contained in:
parent
369d95ceb0
commit
8810ad457a
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue