adminforth 1.1.61 → 1.1.63

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 CHANGED
@@ -636,6 +636,7 @@ class AdminForth {
636
636
  }
637
637
  else {
638
638
  const dbUser = adminUser.dbUser;
639
+ console.log(dbUser);
639
640
  username = dbUser[this.config.auth.usernameField];
640
641
  userFullName = dbUser[this.config.auth.userFullNameField];
641
642
  }
@@ -675,6 +676,7 @@ class AdminForth {
675
676
  }
676
677
  newMenu.push(newMenuItem);
677
678
  }
679
+ console.log(userData, 'this is the user data');
678
680
  return {
679
681
  user: userData,
680
682
  resources: this.config.resources.map((res) => ({
package/index.ts CHANGED
@@ -727,6 +727,7 @@ class AdminForth implements AdminForthClass {
727
727
  username = this.config.rootUser.username;
728
728
  } else {
729
729
  const dbUser = adminUser.dbUser;
730
+ console.log(dbUser)
730
731
  username = dbUser[this.config.auth.usernameField];
731
732
  userFullName =dbUser[this.config.auth.userFullNameField];
732
733
  }
@@ -766,6 +767,7 @@ class AdminForth implements AdminForthClass {
766
767
  }
767
768
  newMenu.push(newMenuItem)
768
769
  }
770
+ console.log(userData,'this is the user data')
769
771
 
770
772
  return {
771
773
  user: userData,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.1.61",
3
+ "version": "1.1.63",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -374,7 +374,7 @@ export type AdminForthResourceColumn = {
374
374
  *
375
375
  * ```ts
376
376
  * {
377
- * label: 'Country',
377
+ * label: 'Country Flag',
378
378
  * type: AdminForthDataTypes.STRING,
379
379
  * virtual: true,
380
380
  * showIn: [AdminForthResourcePages.SHOW, AdminForthResourcePages.LIST],