diff --git a/src/components/Settings/Export/Export.helpers.js b/src/components/Settings/Export/Export.helpers.js index 515e7cd4f..02b17e4f6 100644 --- a/src/components/Settings/Export/Export.helpers.js +++ b/src/components/Settings/Export/Export.helpers.js @@ -890,9 +890,9 @@ export async function cboardExportAdapter(allBoards = [], board) { export async function pdfExportAdapter( boards = [], + labelFontSize, intl, - picsee = false, - labelFontSize + picsee = false ) { const font = definePDFfont(intl); const docDefinition = { diff --git a/src/components/UI/PrintBoardButton/PrintBoardButton.container.js b/src/components/UI/PrintBoardButton/PrintBoardButton.container.js index affc60b16..b9e64bbbe 100644 --- a/src/components/UI/PrintBoardButton/PrintBoardButton.container.js +++ b/src/components/UI/PrintBoardButton/PrintBoardButton.container.js @@ -6,6 +6,7 @@ import PrintBoardButton from './PrintBoardButton.component'; import PrintBoardDialog from './PrintBoardDialog.component'; import messages from './PrintBoardButton.messages'; import { showNotification } from '../../Notifications/Notifications.actions'; +import { MEDIUM_FONT_SIZE } from '../../Settings/Export/Export.constants'; class PrintBoardButtonContainer extends React.Component { constructor(props) { @@ -37,7 +38,7 @@ class PrintBoardButtonContainer extends React.Component { ); const { pdfExportAdapter } = await this.exportHelpers; - pdfExportAdapter([currentBoard], intl).then(() => { + pdfExportAdapter([currentBoard], MEDIUM_FONT_SIZE, intl).then(() => { this.setState({ loading: false }); showNotification(intl.formatMessage(messages.boardDownloaded)); });