From 9976cd088438eb938fccfa4e5702809c17cd1bbe Mon Sep 17 00:00:00 2001 From: Jeff LaJoie Date: Tue, 25 Feb 2020 14:42:42 -0500 Subject: [PATCH] AA-6: Fixes up the logic on when to display the dates tab --- lms/djangoapps/courseware/tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/courseware/tabs.py b/lms/djangoapps/courseware/tabs.py index 88bf5d47e2..2fc36c3345 100644 --- a/lms/djangoapps/courseware/tabs.py +++ b/lms/djangoapps/courseware/tabs.py @@ -332,7 +332,7 @@ class DatesTab(CourseTab): """Returns true if this tab is enabled.""" # We want to only limit this feature to instructor led courses for now if ENABLE_DATES_TAB.is_enabled(course.id): - return CourseOverview.get_from_id(course.id) == 'instructor' + return not CourseOverview.get_from_id(course.id).self_paced return False