sm-click-library-ui 0.0.187 → 0.0.188

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.
@@ -13998,7 +13998,7 @@ function Xg(e, n, t, a) {
13998
13998
  try {
13999
13999
  Ps(e).setToken(n), t && (Jt.defaults.baseURL = t), $l(e).fetchDepartments();
14000
14000
  const s = Gr(e);
14001
- s.attendants = a, s.count = a.lenght, Ss(e).fetchInstances();
14001
+ a ? (s.attendants = a, s.count = a.length) : s.fetchAttendants(), Ss(e).fetchInstances();
14002
14002
  } catch (r) {
14003
14003
  console.error("Erro no setupLibrary:", r);
14004
14004
  }