@mindbill/react 0.77.51 → 0.77.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12808,8 +12808,7 @@ function RfaPracticePicker({ profile, value, onChange, managePracticeHref, manag
|
|
|
12808
12808
|
setPracticeQuery("");
|
|
12809
12809
|
onChosen?.();
|
|
12810
12810
|
const matching = (profile?.locations ?? []).filter((item) => item.active !== false && (item.billingProviderId === id || !item.billingProviderId && practices.length === 1));
|
|
12811
|
-
const
|
|
12812
|
-
const chosen = matching.length === 1 ? matching[0] : primary.length === 1 ? primary[0] : void 0;
|
|
12811
|
+
const chosen = matching.length === 1 ? matching[0] : void 0;
|
|
12813
12812
|
setLocation(chosen?.id ?? "");
|
|
12814
12813
|
onChange({ ...value, name: provider.name, address: provider.billingStreet ?? "", city: provider.billingCity ?? "", state: provider.billingState ?? "", zip: provider.billingZip ?? "", ...contactFields(provider), ...chosen ? located(chosen, provider) : {} });
|
|
12815
12814
|
};
|