Skip to content

Commit

Permalink
fixed bug that allowed to press copy with whitespace name
Browse files Browse the repository at this point in the history
  • Loading branch information
dobeybobey committed Oct 24, 2024
1 parent 9aadaa0 commit 496078a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ <h5 class="modal-title">
<div class="modal-footer">
<button type="button" class="btn btn-light" (click)="activeModal.dismiss()">Cancel</button>
<button id="btn-confirm-copy-course" type="button" class="btn btn-primary" (click)="copy()"
[disabled]="!newFeedbackSessionName || copyToCourseSet.size < 1">Copy</button>
[disabled]="!newFeedbackSessionName || copyToCourseSet.size || !validName< 1">Copy</button>
</div>

0 comments on commit 496078a

Please sign in to comment.