diff --git a/src/Components/PresentationalComponents/StaticPages/NoAccessPage.js b/src/Components/PresentationalComponents/StaticPages/NoAccessPage.js index 19e3263c4..0c16e7c4b 100644 --- a/src/Components/PresentationalComponents/StaticPages/NoAccessPage.js +++ b/src/Components/PresentationalComponents/StaticPages/NoAccessPage.js @@ -7,11 +7,11 @@ import messages from '../../../Messages'; import Header from '../../PresentationalComponents/Header/Header'; import { NotAuthorized } from '../EmptyStates/EmptyStates'; -const NoAccessPage = ({ intl }) => { +const NoAccessPage = ({ intl, title = intl.formatMessage(messages.vulnerabilitiesHeader) }) => { return (
@@ -22,7 +22,8 @@ const NoAccessPage = ({ intl }) => { }; NoAccessPage.propTypes = { - intl: propTypes.any + intl: propTypes.any, + title: propTypes.string }; export default injectIntl( diff --git a/src/Components/SmartComponents/Reports/ReportsPage.js b/src/Components/SmartComponents/Reports/ReportsPage.js index c129dc56f..3ae47d5a7 100644 --- a/src/Components/SmartComponents/Reports/ReportsPage.js +++ b/src/Components/SmartComponents/Reports/ReportsPage.js @@ -122,7 +122,7 @@ const ReportsPage = () => { label={messages.configModalExportReport} />} - : + : ); };