adminforth 1.2.94 → 1.2.95

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.
@@ -159,7 +159,9 @@ export default class AdminForthRestAPI {
159
159
  };
160
160
  function processMenuItem(menuItem) {
161
161
  return __awaiter(this, void 0, void 0, function* () {
162
+ console.log('super hueta');
162
163
  if (menuItem.badge) {
164
+ console.log('hueta');
163
165
  // if (typeof menuItem.badge !== 'string') {
164
166
  menuItem.badge = yield menuItem.badge(adminUser);
165
167
  // }
@@ -188,7 +188,10 @@ export default class AdminForthRestAPI {
188
188
  }
189
189
 
190
190
  async function processMenuItem(menuItem) {
191
+ console.log('super hueta')
192
+
191
193
  if (menuItem.badge) {
194
+ console.log('hueta')
192
195
  // if (typeof menuItem.badge !== 'string') {
193
196
  menuItem.badge = await menuItem.badge(adminUser);
194
197
  // }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.2.94",
3
+ "version": "1.2.95",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",