sm-click-library-ui 0.0.214 → 0.0.216

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.
@@ -13651,7 +13651,6 @@ const ip = /* @__PURE__ */ yt(op, [["render", lp], ["__scopeId", "data-v-bd52dde
13651
13651
  actions: {
13652
13652
  async fetchDepartments(e = "") {
13653
13653
  try {
13654
- this.departments = [];
13655
13654
  let t = `${Iu}`;
13656
13655
  const n = await Kt.get(t);
13657
13656
  this.departments = n.data, this.count = this.departments.length;
@@ -13665,7 +13664,7 @@ const ip = /* @__PURE__ */ yt(op, [["render", lp], ["__scopeId", "data-v-bd52dde
13665
13664
  );
13666
13665
  },
13667
13666
  addDepartments(e) {
13668
- console.log(e);
13667
+ console.log(this.departments), this.departments.push(e), console.log(this.departments);
13669
13668
  }
13670
13669
  }
13671
13670
  }), hp = { class: "depart-select-container" }, vp = { class: "search-container relative shadow shadow-gray-900 dark:shadow-gray-500" }, pp = ["placeholder"], yp = { class: "icon-container" }, gp = {
@@ -14056,8 +14055,8 @@ Zn("debug", {
14056
14055
  function jp(e) {
14057
14056
  e.component("primarySelect", Qo), e.component("departSelect", Ml), e.component("attendantSelect", Al), e.component("SimpleModal", Go), e.component("simpleCard", Ko), e.component("instanceSelect", Ms), e.component("calendar", fl), e.component("MFA", hl), e.component("MfaQrCode", Oh), e.component("chatWindow", xl);
14058
14057
  }
14059
- function Gp(e, t) {
14060
- jr(e).addDepartments(t);
14058
+ function Gp(e) {
14059
+ jr().addDepartments(e);
14061
14060
  }
14062
14061
  function zp(e, t, n, a) {
14063
14062
  try {