Skip to content

Commit

Permalink
chore: update outline link
Browse files Browse the repository at this point in the history
  • Loading branch information
navinkarkera committed Nov 22, 2023
1 parent af5061d commit 543b171
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/header/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import messages from './messages';
export const getContentMenuItems = ({ studioBaseUrl, courseId, intl }) => {
const items = [
{
href: `${studioBaseUrl}/course/${courseId}`,
href: getPagePath(courseId, 'false', 'outline'),
title: intl.formatMessage(messages['header.links.outline']),
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const EntranceExam = ({
const toggleEntranceExam = () => onChange((!showEntranceExam).toString(), 'entranceExamEnabled');
const courseOutlineDestination = getPagePath(
courseId,
process.env.ENABLE_NEW_COURSE_OUTLINE_PAGE,
'course',
'false',
'outline',
);

return (
Expand Down

0 comments on commit 543b171

Please sign in to comment.