@itilite/iui-user-management 1.4.488 → 1.4.489

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 CHANGED
@@ -4684,7 +4684,7 @@ 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
4688
  return /*#__PURE__*/React__default.createElement("div", {
4689
4689
  onClick: function onClick() {
4690
4690
  handleSelect(item);
@@ -4715,7 +4715,7 @@ var RenderList = function RenderList(_ref) {
4715
4715
  className: styles$3.title
4716
4716
  }, item === null || item === void 0 ? void 0 : item.program_name), /*#__PURE__*/React__default.createElement("div", {
4717
4717
  className: styles$3.subtitle
4718
- }, (item === null || item === void 0 ? void 0 : item.program_name) === 'Other' ? 'Add new membership program' : item === null || item === void 0 ? void 0 : (_item$associated_name = item.associated_names) === null || _item$associated_name === void 0 ? void 0 : _item$associated_name.join(', '))));
4718
+ }, (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(', ')) + ')' : '')));
4719
4719
  }), loading && /*#__PURE__*/React__default.createElement("div", {
4720
4720
  className: styles$3.loading
4721
4721
  }, /*#__PURE__*/React__default.createElement(Loader, null)), !loading && nextPageAvailable && /*#__PURE__*/React__default.createElement("div", {