@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.js
CHANGED
|
@@ -8249,16 +8249,19 @@ var StickyHeadTable = function StickyHeadTable(props) {
|
|
|
8249
8249
|
minWidth: 250,
|
|
8250
8250
|
sortable: true,
|
|
8251
8251
|
cell: function cell(row) {
|
|
8252
|
-
|
|
8252
|
+
var _row$profile_pic;
|
|
8253
|
+
|
|
8254
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(iuistyles.IUIProfileBox, {
|
|
8253
8255
|
firstName: row.first_name,
|
|
8254
8256
|
lastName: row.last_name,
|
|
8255
|
-
isLetterAvatar: true,
|
|
8257
|
+
isLetterAvatar: row.profile_pic && row.profile_pic.presigned_url ? false : true,
|
|
8256
8258
|
primaryText: row.first_name + ' ' + row.last_name,
|
|
8257
8259
|
secondaryText: row.email,
|
|
8258
8260
|
letterAvatarTextColor: "black",
|
|
8259
8261
|
letterAvatarBackgroundColor: "#d3d3d3",
|
|
8260
|
-
avatarClassName: styles$5.avatarClassName
|
|
8261
|
-
|
|
8262
|
+
avatarClassName: styles$5.avatarClassName,
|
|
8263
|
+
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
|
|
8264
|
+
}));
|
|
8262
8265
|
}
|
|
8263
8266
|
}, {
|
|
8264
8267
|
id: 'emp_info__department__name',
|