l-min-components 1.7.1350 → 1.7.1352

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.7.1350",
3
+ "version": "1.7.1352",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -66,12 +66,9 @@ const UserCard = ({ isOpen, findText }) => {
66
66
  ) : (
67
67
  <>
68
68
  <Avatar
69
- src={generalData?.selectedAccount?.profile_photo?.url || avatar}
69
+ src={generalData?.selectedAccount?.profile_photo?.url}
70
70
  isOpen={isOpen}
71
71
  onClick={() => {
72
- // if (window.location.pathname.includes("personal")) {
73
- // window.location.href = `${window.location.protocol}//${window.location.hostname}/personal/profile`;
74
- // }
75
72
  if (window.location.pathname.includes("enterprise")) {
76
73
  window.location.href = `${window.location.protocol}//${window.location.hostname}/enterprise/profile`;
77
74
  }
@@ -102,8 +99,8 @@ const UserCard = ({ isOpen, findText }) => {
102
99
  fontSize: 15,
103
100
  }}
104
101
  >
105
- {accountName >= 27
106
- ? accountName?.slice(0, 27)?.trim() + "..."
102
+ {accountName?.length >= 25
103
+ ? accountName?.slice(0, 25)?.trim() + "..."
107
104
  : accountName}
108
105
  </Handle>
109
106
  </UserDetail>