sm-click-library-ui 0.0.229 → 0.0.231

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.
@@ -14114,19 +14114,17 @@ function lw({
14114
14114
  piniaInstance: e,
14115
14115
  jwtToken: n,
14116
14116
  rootUrl: t,
14117
- departments: a = [],
14118
- attendances: r = [],
14117
+ attendances: a = [],
14118
+ departments: r = [],
14119
14119
  instances: o = []
14120
14120
  }) {
14121
14121
  try {
14122
14122
  const s = Cs(e);
14123
14123
  n && s.setToken(n), t && (Jt.defaults.baseURL = t);
14124
14124
  const l = eo(e);
14125
- a.length && (l.departments = a, l.count = a.length);
14125
+ r.length && (l.departments = r, l.count = r.length);
14126
14126
  const i = La(e);
14127
- r.length && (i.attendants = r, i.count = r.length);
14128
- const c = Rr(e);
14129
- o.length ? c.setInstances(o) : c.fetchInstances();
14127
+ a.length && (i.attendants = a, i.count = a.length), Rr(e).fetchInstances();
14130
14128
  } catch (s) {
14131
14129
  console.error("Erro no setupLibrary:", s);
14132
14130
  }