diff --git a/rdmo/projects/assets/js/interview/components/sidebar/Navigation.js b/rdmo/projects/assets/js/interview/components/sidebar/Navigation.js index aea883f47..c7f5826aa 100644 --- a/rdmo/projects/assets/js/interview/components/sidebar/Navigation.js +++ b/rdmo/projects/assets/js/interview/components/sidebar/Navigation.js @@ -6,7 +6,7 @@ import Html from 'rdmo/core/assets/js/components/Html' import NavigationLink from './NavigationLink' -const Navigation = ({ currentPage, navigation, help, fetchPage }) => { +const Navigation = ({ overview, currentPage, navigation, help, fetchPage }) => { return ( <>

{gettext('Navigation')}

@@ -18,7 +18,7 @@ const Navigation = ({ currentPage, navigation, help, fetchPage }) => {
  • fetchPage(section.first)} /> { @@ -33,7 +33,7 @@ const Navigation = ({ currentPage, navigation, help, fetchPage }) => { page.show ? ( fetchPage(page.id)} /> ) : ( @@ -57,6 +57,7 @@ const Navigation = ({ currentPage, navigation, help, fetchPage }) => { } Navigation.propTypes = { + overview: PropTypes.object.isRequired, currentPage: PropTypes.object, navigation: PropTypes.array.isRequired, help: PropTypes.string.isRequired, diff --git a/rdmo/projects/assets/js/interview/containers/Sidebar.js b/rdmo/projects/assets/js/interview/containers/Sidebar.js index 6c209eb41..2ef8d5aa2 100644 --- a/rdmo/projects/assets/js/interview/containers/Sidebar.js +++ b/rdmo/projects/assets/js/interview/containers/Sidebar.js @@ -33,6 +33,7 @@ const Sidebar = ({ config, settings, templates, user, project, interview, config help={templates.project_interview_buttons_help} fetchPage={interviewActions.fetchPage} />