Skip to content

Commit

Permalink
fixed syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
dobeybobey committed Oct 24, 2024
1 parent a79ab09 commit 9aadaa0
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,14 @@ export class CopySessionModalComponent {
/**
* check if session name is whitespace or not
* /
if (this.newFeedbackSessionName.trim().length==0) {
validName:false; }
else {validName=true;}
return;
}
if (this.newFeedbackSessionName.trim().length==0) {
validName:false;
return;
}
else {
validName=true;
}
this.activeModal.close({
newFeedbackSessionName: this.newFeedbackSessionName,
sessionToCopyCourseId: this.sessionToCopyCourseId,
Expand Down

0 comments on commit 9aadaa0

Please sign in to comment.