@itilite/iui-user-management 0.1.10 → 0.1.11
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 +7 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -8246,16 +8246,19 @@ var StickyHeadTable = function StickyHeadTable(props) {
|
|
|
8246
8246
|
minWidth: 250,
|
|
8247
8247
|
sortable: true,
|
|
8248
8248
|
cell: function cell(row) {
|
|
8249
|
-
|
|
8249
|
+
var _row$profile_pic;
|
|
8250
|
+
|
|
8251
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IUIProfileBox, {
|
|
8250
8252
|
firstName: row.first_name,
|
|
8251
8253
|
lastName: row.last_name,
|
|
8252
|
-
isLetterAvatar: true,
|
|
8254
|
+
isLetterAvatar: row.profile_pic && row.profile_pic.presigned_url ? false : true,
|
|
8253
8255
|
primaryText: row.first_name + ' ' + row.last_name,
|
|
8254
8256
|
secondaryText: row.email,
|
|
8255
8257
|
letterAvatarTextColor: "black",
|
|
8256
8258
|
letterAvatarBackgroundColor: "#d3d3d3",
|
|
8257
|
-
avatarClassName: styles$5.avatarClassName
|
|
8258
|
-
|
|
8259
|
+
avatarClassName: styles$5.avatarClassName,
|
|
8260
|
+
profilePath: row === null || row === void 0 ? void 0 : (_row$profile_pic = row.profile_pic) === null || _row$profile_pic === void 0 ? void 0 : _row$profile_pic.presigned_url
|
|
8261
|
+
}));
|
|
8259
8262
|
}
|
|
8260
8263
|
}, {
|
|
8261
8264
|
id: 'emp_info__department__name',
|