Skip to content

Commit

Permalink
Update health-event.component.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
dogi authored Nov 6, 2024
1 parent c49aecf commit c38ee1b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/health/health-event.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ export class HealthEventComponent implements OnInit {
isFieldValueExpected(field) {
const value = this.healthForm.controls[field].value;
const limits = {
'temperature': { min: 30, max: 40 },
'pulse': { min: 40, max: 120 },
'height': { min: 40, max: 250 },
'weight': { min: 1, max: 150 },
'temperature': { min: 30, max: 45 },
'pulse': { min: 30, max: 300 },
'height': { min: 30, max: 275 },
'weight': { min: 0, max: 500 },
'bp': 'n/a'
};
if (value === null || value === '' || !limits[field]) {
Expand Down

0 comments on commit c38ee1b

Please sign in to comment.