sigo-package 1.2.144 → 1.2.145
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.
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16918,7 +16918,7 @@ var buildMenu = /* @__PURE__ */ __name((data, t) => {
|
|
|
16918
16918
|
"PUT": "Actualizar",
|
|
16919
16919
|
"DELETE": "Eliminar"
|
|
16920
16920
|
};
|
|
16921
|
-
let label = `${
|
|
16921
|
+
let label = `${item.name} ${item.method ? item.method : ""}`.trim();
|
|
16922
16922
|
if (item.method) {
|
|
16923
16923
|
const includeParmas = item.name.includes(":");
|
|
16924
16924
|
if (includeParmas) {
|
|
@@ -16933,7 +16933,7 @@ var buildMenu = /* @__PURE__ */ __name((data, t) => {
|
|
|
16933
16933
|
tree[item.key] = {
|
|
16934
16934
|
children: [],
|
|
16935
16935
|
id: item._id,
|
|
16936
|
-
label,
|
|
16936
|
+
label: t(label),
|
|
16937
16937
|
systemOption: item
|
|
16938
16938
|
};
|
|
16939
16939
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -16750,7 +16750,7 @@ var buildMenu = /* @__PURE__ */ __name((data, t) => {
|
|
|
16750
16750
|
"PUT": "Actualizar",
|
|
16751
16751
|
"DELETE": "Eliminar"
|
|
16752
16752
|
};
|
|
16753
|
-
let label = `${
|
|
16753
|
+
let label = `${item.name} ${item.method ? item.method : ""}`.trim();
|
|
16754
16754
|
if (item.method) {
|
|
16755
16755
|
const includeParmas = item.name.includes(":");
|
|
16756
16756
|
if (includeParmas) {
|
|
@@ -16765,7 +16765,7 @@ var buildMenu = /* @__PURE__ */ __name((data, t) => {
|
|
|
16765
16765
|
tree[item.key] = {
|
|
16766
16766
|
children: [],
|
|
16767
16767
|
id: item._id,
|
|
16768
|
-
label,
|
|
16768
|
+
label: t(label),
|
|
16769
16769
|
systemOption: item
|
|
16770
16770
|
};
|
|
16771
16771
|
});
|