fix REV-19 experiment check for refunds
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
courseNumber, courseName, enrollmentMode, showRefundOption, courseKey) {
|
||||
// This flag is added for REV-19 experiment
|
||||
var auditRefundableCourses = (window.experimentVariables || {}).auditRefundableCourses,
|
||||
courseInExperiment = courseKey.indexOf(auditRefundableCourses) > 0,
|
||||
courseInExperiment = auditRefundableCourses ? auditRefundableCourses.indexOf(courseKey) > -1 : false,
|
||||
diagAttr = {};
|
||||
|
||||
if (isPaidCourse || courseInExperiment) {
|
||||
|
||||
Reference in New Issue
Block a user