Skip to content

Commit

Permalink
Update the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Imran92 committed Dec 6, 2023
1 parent 324e6d2 commit af681c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/admin/first-course-creation-notice.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const handleFirstCourseCreationHelperNotice = () => {
removeNotice( noticeId );

Check warning on line 82 in assets/js/admin/first-course-creation-notice.js

View check run for this annotation

Codecov / codecov/patch

assets/js/admin/first-course-creation-notice.js#L80-L82

Added lines #L80 - L82 were not covered by tests
}

// If the notice hasn't been created, and the course outline block hasn't been created, and the first course notice hasn't been dismissed, and there are no published lessons in the outline, create the notice.
// If the notice hasn't been created, and notice hasn't been dismissed, and either the course outline block hasn't been created OR there are no published lessons in the outline, create the notice.
if (
! noticeCreated &&
! isFirstCourseNoticeDismissed &&
Expand Down

0 comments on commit af681c6

Please sign in to comment.