From 44071a4c9edd07393e8b9de26820420e74f95ac8 Mon Sep 17 00:00:00 2001 From: Maria Grimaldi Date: Tue, 16 Jan 2024 11:45:14 -0400 Subject: [PATCH] refactor: address PR reviews Co-authored-by: Jhon Vente <134975835+johnvente@users.noreply.github.com> --- src/courseware/course/Course.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/courseware/course/Course.jsx b/src/courseware/course/Course.jsx index 5f385b90b5..a2ceb92201 100644 --- a/src/courseware/course/Course.jsx +++ b/src/courseware/course/Course.jsx @@ -37,7 +37,7 @@ const Course = ({ const sequence = useModel('sequences', sequenceId); const section = useModel('sections', sequence ? sequence.sectionId : null); const enableNewSidebar = getConfig().ENABLE_NEW_SIDEBAR; - const navigationDisabled = sequence ? sequence.navigationDisabled : false; + const navigationDisabled = sequence?.navigationDisabled ?? false; const pageTitleBreadCrumbs = [ sequence,