sm-click-library-ui 0.0.208 → 0.0.209

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.
@@ -13666,10 +13666,10 @@ const ip = /* @__PURE__ */ yt(op, [["render", lp], ["__scopeId", "data-v-bd52dde
13666
13666
  },
13667
13667
  addDepartments(e) {
13668
13668
  Array.isArray(e) ? e.forEach((t) => {
13669
- this.departments.some((n) => n.id === t.id) || this.departments.push(t);
13669
+ this.departments.some((n) => n.id === t.id) || this.departments.push({ ...t });
13670
13670
  }) : this.departments.some(
13671
13671
  (t) => t.id === e.id
13672
- ) || this.departments.push(e);
13672
+ ) || this.departments.push({ ...dep });
13673
13673
  }
13674
13674
  }
13675
13675
  }), 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 = {