Skip to content

Commit

Permalink
fix: allow disenroll course units without enrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaspalma committed Feb 8, 2025
1 parent 9eb8bf4 commit 5e696ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/exchange/enrollments/Enrollments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const Enrollments = ({
))}
</div>

{(enrollmentChoices.size > 0) &&
{(enrollmentChoices.size > 0 || disenrollmentChoices.size > 0) &&
<form onSubmit={async (e) => {
e.preventDefault();

Expand Down

0 comments on commit 5e696ec

Please sign in to comment.