Skip to content

Commit

Permalink
Update Fondos rules
Browse files Browse the repository at this point in the history
  • Loading branch information
laura-riera committed Jul 5, 2022
1 parent 90902f6 commit 6512b06
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 8 deletions.
36 changes: 36 additions & 0 deletions src/SchoolManagementSystem.Presentation/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/SchoolManagementSystem.Presentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"react-bootstrap": "^2.4.0",
"react-dom": "^18.2.0",
"react-faq-component": "^1.3.4",
"react-highlight-words": "^0.18.0",
"react-router-dom": "^6.3.0",
"react-scripts": "^5.0.1",
"school-calendar-react": "^1.0.1",
Expand Down
8 changes: 0 additions & 8 deletions src/SchoolManagementSystem.Presentation/src/pages/Students.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,14 +337,6 @@ const Students = () => {
compare: (a, b) => a.founds - b.founds
},
rules: [
{
required: true,
message: "Introduzca los fondos.",
},
{
whitespace: true,
message: "Introduzca los fondos."
},
{
pattern: /^[0-9]+$/,
message: 'Los fondos solo pueden contener números.'
Expand Down

0 comments on commit 6512b06

Please sign in to comment.