From 89581b9c8e190362fe04e1c7ce90a2e91b71e713 Mon Sep 17 00:00:00 2001 From: Rafay Date: Wed, 11 Oct 2023 20:28:10 +0500 Subject: [PATCH] fix: make progress graph respect course settings (#1194) --- src/course-home/progress-tab/ProgressTab.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/course-home/progress-tab/ProgressTab.jsx b/src/course-home/progress-tab/ProgressTab.jsx index 3413d3836f..867035f3c2 100644 --- a/src/course-home/progress-tab/ProgressTab.jsx +++ b/src/course-home/progress-tab/ProgressTab.jsx @@ -18,7 +18,7 @@ const ProgressTab = () => { } = useSelector(state => state.courseHome); const { - gradesFeatureIsFullyLocked, + gradesFeatureIsFullyLocked, disableProgressGraph, } = useModel('progress', courseId); const applyLockedOverlay = gradesFeatureIsFullyLocked ? 'locked-overlay' : ''; @@ -38,7 +38,7 @@ const ProgressTab = () => {
{/* Main body */}
- + {!disableProgressGraph && } {!wideScreen && }