zet-lib 1.0.11 → 1.0.13

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/lib/zCache.js CHANGED
@@ -275,10 +275,6 @@ zCache.MENU_SYSTEMS = () => {
275
275
  text: "Custom Report",
276
276
  href: "zreport",
277
277
  },
278
- {
279
- text: "Menu Collections",
280
- href: "zmenu_collections",
281
- },
282
278
  {
283
279
  text: "Log Errors",
284
280
  href: "zerror",
package/lib/zRole.js CHANGED
@@ -227,7 +227,7 @@ a.childrenMenu = (res, arr) => {
227
227
  arr.map((item) => {
228
228
  let obj = {};
229
229
  if(a.isAccess(res.locals.roleId,item.href,"index")) {
230
- obj = a.addItem(item);
230
+ obj = a.addItemMenu(item);
231
231
  if (item.hasOwnProperty("children") && item.children.length) {
232
232
  let child = [];
233
233
  child.push(a.children(res, item.children));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zet-lib",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "zet is a library that part of zet generator.",
5
5
  "engines": {
6
6
  "node": ">=18"