hplx-feature-library 1.0.229 → 1.0.230

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.
@@ -1568,7 +1568,7 @@ const CI = ({ branch_name: A, role_name: E, org_branch_id: I }) => /* @__PURE__
1568
1568
  }) => {
1569
1569
  const [G, x] = K(!1), [Y, j] = K(), [J, O] = K(!1), R = PA(null);
1570
1570
  r(() => {
1571
- (async () => {
1571
+ w && Y?.switch_branches.length == 0 && (async () => {
1572
1572
  try {
1573
1573
  const H = await cI(w);
1574
1574
  j(H);
@@ -1576,7 +1576,7 @@ const CI = ({ branch_name: A, role_name: E, org_branch_id: I }) => /* @__PURE__
1576
1576
  console.error("Failed to load branches:", H);
1577
1577
  }
1578
1578
  })();
1579
- }, [w]), r(() => {
1579
+ }, [Y?.switch_branches.length, w]), r(() => {
1580
1580
  const H = (m) => {
1581
1581
  R.current && J && !R.current.contains(m.target) && O(!1);
1582
1582
  };
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import { A as i } from "./Attachments-4FIsCWlc.js";
4
4
  import { P } from "./PatientAddEdit-9W7ONHSd.js";
5
5
  import { S as m } from "./SearchPatients-D7cCFV9o.js";
6
6
  import { N as n } from "./NineDots-B3ZRumoi.js";
7
- import { U as d } from "./UserProfile-CqXEz7Hv.js";
7
+ import { U as d } from "./UserProfile-DCwe7evZ.js";
8
8
  import { P as c } from "./PrintModal-BF2-PDRX.js";
9
9
  import { A as u } from "./AllInvestigationsTable-Dg-YXASz.js";
10
10
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hplx-feature-library",
3
3
  "private": false,
4
- "version": "1.0.229",
4
+ "version": "1.0.230",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "npm i hplx-react-elements-dev@qa && vite",