@itilite/iui-user-management 1.4.489 → 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 +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -4682,6 +4682,7 @@ var RenderList = function RenderList(_ref) {
|
|
|
4682
4682
|
className: styles$3.list
|
|
4683
4683
|
}, page === 1 && loading ? null : items.map(function (item) {
|
|
4684
4684
|
var _item$associated_name, _item$associated_name2;
|
|
4685
|
+
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(', ')) + ')' : '';
|
|
4685
4686
|
return /*#__PURE__*/React.createElement("div", {
|
|
4686
4687
|
onClick: function onClick() {
|
|
4687
4688
|
handleSelect(item);
|
|
@@ -4711,8 +4712,9 @@ var RenderList = function RenderList(_ref) {
|
|
|
4711
4712
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4712
4713
|
className: styles$3.title
|
|
4713
4714
|
}, item === null || item === void 0 ? void 0 : item.program_name), /*#__PURE__*/React.createElement("div", {
|
|
4714
|
-
className: styles$3.subtitle
|
|
4715
|
-
|
|
4715
|
+
className: styles$3.subtitle,
|
|
4716
|
+
title: associatedList
|
|
4717
|
+
}, associatedList)));
|
|
4716
4718
|
}), loading && /*#__PURE__*/React.createElement("div", {
|
|
4717
4719
|
className: styles$3.loading
|
|
4718
4720
|
}, /*#__PURE__*/React.createElement(Loader, null)), !loading && nextPageAvailable && /*#__PURE__*/React.createElement("div", {
|