@itilite/iui-user-management 1.4.488 → 1.4.490
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 +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4684,7 +4684,8 @@ var RenderList = function RenderList(_ref) {
|
|
|
4684
4684
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
4685
4685
|
className: styles$3.list
|
|
4686
4686
|
}, page === 1 && loading ? null : items.map(function (item) {
|
|
4687
|
-
var _item$associated_name;
|
|
4687
|
+
var _item$associated_name, _item$associated_name2;
|
|
4688
|
+
var associatedList = (item === null || item === void 0 ? void 0 : item.program_name) === 'Other' ? 'Add new membership program' : item !== null && item !== void 0 && (_item$associated_name = item.associated_names) !== null && _item$associated_name !== void 0 && _item$associated_name.length ? '(' + (item === null || item === void 0 ? void 0 : (_item$associated_name2 = item.associated_names) === null || _item$associated_name2 === void 0 ? void 0 : _item$associated_name2.join(', ')) + ')' : '';
|
|
4688
4689
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
4689
4690
|
onClick: function onClick() {
|
|
4690
4691
|
handleSelect(item);
|
|
@@ -4714,8 +4715,9 @@ var RenderList = function RenderList(_ref) {
|
|
|
4714
4715
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
4715
4716
|
className: styles$3.title
|
|
4716
4717
|
}, item === null || item === void 0 ? void 0 : item.program_name), /*#__PURE__*/React__default.createElement("div", {
|
|
4717
|
-
className: styles$3.subtitle
|
|
4718
|
-
|
|
4718
|
+
className: styles$3.subtitle,
|
|
4719
|
+
title: associatedList
|
|
4720
|
+
}, associatedList)));
|
|
4719
4721
|
}), loading && /*#__PURE__*/React__default.createElement("div", {
|
|
4720
4722
|
className: styles$3.loading
|
|
4721
4723
|
}, /*#__PURE__*/React__default.createElement(Loader, null)), !loading && nextPageAvailable && /*#__PURE__*/React__default.createElement("div", {
|