Skip to content

Commit

Permalink
npm run build fails on master branch #2786 (#2787)
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-abushkevich authored Jan 31, 2023
1 parent 582571e commit 4eee11d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/components/cohortbuilder/CriteriaTypes/VisitDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ define(['knockout', './Criteria', '../InputTypes/Range', '../InputTypes/ConceptS
if (ko.utils.unwrapObservable(self.VisitDetailSourceConcept()) == change.value.id) {
self.VisitSourceConcept()(null);
}
if (ko.utils.unwrapObservable(self.VisitDetailTypeCS()?.CodesetId) == change.value.id) {
if (ko.utils.unwrapObservable(self.VisitDetailTypeCS() && self.VisitDetailTypeCS().CodesetId) == change.value.id) {
self.VisitDetailTypeCS(new ConceptSetSelection());
}
if (ko.utils.unwrapObservable(self.GenderCS()?.CodesetId) == change.value.id) {
if (ko.utils.unwrapObservable(self.GenderCS() && self.GenderCS().CodesetId) == change.value.id) {
self.GenderCS(new ConceptSetSelection());
}
if (ko.utils.unwrapObservable(self.ProviderSpecialtyCS()?.CodesetId) == change.value.id) {
if (ko.utils.unwrapObservable(self.ProviderSpecialtyCS() && self.ProviderSpecialtyCS().CodesetId) == change.value.id) {
self.ProviderSpecialtyCS(new ConceptSetSelection());
}
if (ko.utils.unwrapObservable(self.PlaceOfServiceCS()?.CodesetId) == change.value.id) {
if (ko.utils.unwrapObservable(self.PlaceOfServiceCS() && self.PlaceOfServiceCS().CodesetId) == change.value.id) {
self.PlaceOfServiceCS(new ConceptSetSelection());
}

Expand Down

0 comments on commit 4eee11d

Please sign in to comment.