Skip to content

Commit

Permalink
feat: make level type and primary subjects field optional for masters…
Browse files Browse the repository at this point in the history
… courses
  • Loading branch information
Ali-D-Akbar committed Feb 24, 2025
1 parent 5c19a5c commit bd6131a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/EditCoursePage/EditCourseForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ export class BaseEditCourseForm extends React.Component {
extraInput={{ onInvalid: this.openCollapsible }}
options={levelTypeOptions}
disabled={disabled}
required={isSubmittingForReview}
required={showMarketingFields && isSubmittingForReview}
/>
<Field
name="subjectPrimary"
Expand Down Expand Up @@ -1040,7 +1040,7 @@ export class BaseEditCourseForm extends React.Component {
extraInput={{ onInvalid: this.openCollapsible }}
options={subjectOptions}
disabled={disabled}
required={isSubmittingForReview}
required={showMarketingFields && isSubmittingForReview}
/>
<Field
name="subjectSecondary"
Expand Down

0 comments on commit bd6131a

Please sign in to comment.