sm-click-library-ui 0.0.211 → 0.0.213
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.
|
@@ -13665,7 +13665,10 @@ const ip = /* @__PURE__ */ yt(op, [["render", lp], ["__scopeId", "data-v-bd52dde
|
|
|
13665
13665
|
);
|
|
13666
13666
|
},
|
|
13667
13667
|
addDepartments(e) {
|
|
13668
|
-
|
|
13668
|
+
this.fetchDepartments(), console.log(
|
|
13669
|
+
"recebido do front:" + e,
|
|
13670
|
+
"departs lib:" + this.departments
|
|
13671
|
+
), Array.isArray(e) ? e.forEach((t) => {
|
|
13669
13672
|
this.departments.some((n) => n.id === t.id) || this.departments.push({ ...t });
|
|
13670
13673
|
}) : this.departments.some(
|
|
13671
13674
|
(t) => t.id === e.id
|