Skip to content

Commit

Permalink
change file
Browse files Browse the repository at this point in the history
  • Loading branch information
u7861723 committed Oct 25, 2024
1 parent 18785ae commit 3c42630
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ export class CopySessionModalComponent {
this.statusMessageService.showErrorToast('The field "Name for copied session" should not be whitespace.');
return;
}
else if(this.newFeedbackSessionName.length > this.FEEDBACK_SESSION_NAME_MAX_LENGTH){
this.statusMessageService.showErrorToast('The field "Name for copied session" should less than ${this.FEEDBACK_SESSION_NAME_MAX_LENGTH}.');
return;
}
if (this.newFeedbackSessionName.length > this.FEEDBACK_SESSION_NAME_MAX_LENGTH) {
this.statusMessageService.showErrorToast(
`The field "Name for copied session" should less than ${this.FEEDBACK_SESSION_NAME_MAX_LENGTH}.`

Check failure on line 41 in src/web/app/components/copy-session-modal/copy-session-modal.component.ts

View workflow job for this annotation

GitHub Actions / lint (ubuntu-latest)

Missing trailing comma

Check failure on line 41 in src/web/app/components/copy-session-modal/copy-session-modal.component.ts

View workflow job for this annotation

GitHub Actions / lint (windows-latest)

Missing trailing comma
);
return;
}

this.activeModal.close({
newFeedbackSessionName: this.newFeedbackSessionName,
Expand Down

0 comments on commit 3c42630

Please sign in to comment.