Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rsiminel authored May 29, 2024
1 parent e528e16 commit b698807
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manager2/src/app/project/project.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ export class ProjectComponent implements OnInit {
this.request_err_msg = 'Project expiration date is mandatory';
return;
}
if (!this.new_project.description) {
this.request_err_msg = 'Project description is mandatory';
return;
}
if (this.new_project.description.length < 30) {
this.request_err_msg = 'Project description should be at least 30 characters long';
return;
Expand Down

0 comments on commit b698807

Please sign in to comment.