From bf7387d4e3f11da1a02f2b888162b8c1b35deb63 Mon Sep 17 00:00:00 2001 From: Arjun G <91885483+Arjun-Go@users.noreply.github.com> Date: Tue, 17 Oct 2023 13:20:21 +0530 Subject: [PATCH] add. changes to fix providers shown in new appointments (#306) --- ui/react-components/components/Provider/ProviderSearch.jsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ui/react-components/components/Provider/ProviderSearch.jsx b/ui/react-components/components/Provider/ProviderSearch.jsx index 4be5b8520..f8930b7d0 100644 --- a/ui/react-components/components/Provider/ProviderSearch.jsx +++ b/ui/react-components/components/Provider/ProviderSearch.jsx @@ -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()