diff --git a/services/course-material/src/components/HeadingsNavigation.tsx b/services/course-material/src/components/HeadingsNavigation.tsx index cc2be673d3c6..7d489b35781b 100644 --- a/services/course-material/src/components/HeadingsNavigation.tsx +++ b/services/course-material/src/components/HeadingsNavigation.tsx @@ -238,82 +238,85 @@ const HeadingsNavigation: React.FC -

- {t("in-this-page")} -

- - + {!realCollapsed && (
- {headings && - headings.map(({ headingsNavigationIndex, title, element }) => { - return ( - - ) - })} + `} + > +
{title}
+ + + ) + })} +
+
- + )}