From 2f3b9537188a85c1ba142c01df043bf42bd49699 Mon Sep 17 00:00:00 2001 From: Navin Karkera Date: Wed, 22 Nov 2023 11:09:34 +0530 Subject: [PATCH] chore: update outline link --- src/header/utils.js | 2 +- .../requirements-section/entrance-exam/index.jsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/header/utils.js b/src/header/utils.js index 8bce20f904..bc8e50ea51 100644 --- a/src/header/utils.js +++ b/src/header/utils.js @@ -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']), }, { diff --git a/src/schedule-and-details/requirements-section/entrance-exam/index.jsx b/src/schedule-and-details/requirements-section/entrance-exam/index.jsx index a4064d5e51..2a036a4c34 100644 --- a/src/schedule-and-details/requirements-section/entrance-exam/index.jsx +++ b/src/schedule-and-details/requirements-section/entrance-exam/index.jsx @@ -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 (