Skip to content

Commit

Permalink
chore: one more change
Browse files Browse the repository at this point in the history
  • Loading branch information
AfaqShuaib09 committed Oct 30, 2024
1 parent c5033d4 commit 7b99f54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/EditCoursePage/CollapsibleCourseRun.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,10 @@ class CollapsibleCourseRun extends React.Component {
const productSource = courseInfo?.data?.product_source?.slug;
const courseType = courseInfo?.data?.course_type;

if (courseInReview !== isCourseRunInReview) {
if (IN_REVIEW_STATUS.includes(courseRun.status) !== isCourseRunInReview) {
setTimeout(() => {

Check failure on line 283 in src/components/EditCoursePage/CollapsibleCourseRun.jsx

View workflow job for this annotation

GitHub Actions / tests (20)

Expected indentation of 6 spaces but found 8
this.setState({ isCourseRunInReview: IN_REVIEW_STATUS.includes(courseRun.status) });

Check failure on line 284 in src/components/EditCoursePage/CollapsibleCourseRun.jsx

View workflow job for this annotation

GitHub Actions / tests (20)

Expected indentation of 8 spaces but found 12
}, 500);
}, 100);

Check failure on line 285 in src/components/EditCoursePage/CollapsibleCourseRun.jsx

View workflow job for this annotation

GitHub Actions / tests (20)

Expected indentation of 6 spaces but found 8
}

return (
Expand Down

0 comments on commit 7b99f54

Please sign in to comment.