Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Fixed validation when patient is already selected for checkin
Browse files Browse the repository at this point in the history
  • Loading branch information
jkleinsc committed Dec 13, 2016
1 parent cf49963 commit 14026a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/visit.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default AbstractModel.extend({
patientTypeAhead: {
presence: {
if(object) {
return (object.get('checkIn'));
return (object.get('checkIn') && !object.get('hidePatientSelection'));
}
}
},
Expand Down

0 comments on commit 14026a4

Please # to comment.