diff --git a/packages/lesmis/src/utils/getExportableSubDashboards.js b/packages/lesmis/src/utils/getExportableSubDashboards.js index 30ee05f493..fcd3ced031 100644 --- a/packages/lesmis/src/utils/getExportableSubDashboards.js +++ b/packages/lesmis/src/utils/getExportableSubDashboards.js @@ -44,8 +44,10 @@ export const getExportableSubDashboards = dropdownOption => { dashboardLabel: otherDropdownOptions[index].label, sortOrder: index, useYearSelector: otherDropdownOptions[index].useYearSelector, + exportToPDF: otherDropdownOptions[index].exportToPDF, }; }) + .filter(({ exportToPDF }) => exportToPDF) .sort((a, b) => a.sortOrder - b.sortOrder); }