Skip to content

Commit

Permalink
add. changes to fix providers shown in new appointments (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjun-Go authored Oct 17, 2023
1 parent 9adf999 commit bf7387d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ui/react-components/components/Provider/ProviderSearch.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,7 @@ const ProviderSearch = props => {
const createDropdownOptions = results => {
const options = [];
forEach(results, provider => {
if (
provider.attributes.length > 0
? provider.attributes[0].attributeType.display ===
availableForAppointments
: false
) {
options.push(createProviderOption(provider));
}
});
return sortBy(options, providerOption =>
providerOption.label.toLowerCase()
Expand Down

0 comments on commit bf7387d

Please sign in to comment.