@itilite/iui-user-management 0.4.914 → 0.4.915

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
@@ -8648,10 +8648,10 @@ var SingupRequests = function SingupRequests(props) {
8648
8648
  cell: function cell(row) {
8649
8649
  var _row$profile_pic2;
8650
8650
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(iuistyles.IUIProfileBox, {
8651
- firstName: row.first_name,
8652
- lastName: row.last_name,
8651
+ firstName: row.fname,
8652
+ lastName: row.lname,
8653
8653
  isLetterAvatar: row.profile_pic && row.profile_pic.presigned_url ? false : true,
8654
- primaryText: row.first_name + ' ' + row.last_name,
8654
+ primaryText: row.fname + ' ' + row.lname,
8655
8655
  secondaryText: row.email,
8656
8656
  letterAvatarTextColor: "black",
8657
8657
  letterAvatarBackgroundColor: "#d3d3d3",
@@ -8670,7 +8670,7 @@ var SingupRequests = function SingupRequests(props) {
8670
8670
  width: 100
8671
8671
  }, /*#__PURE__*/React__default.createElement(iuistyles.IUITypography, {
8672
8672
  className: clsx(styles$5.rowText, styles$5.textTransform)
8673
- }, formatDate(row.created_at)));
8673
+ }, formatDate(row.created)));
8674
8674
  }
8675
8675
  }, {
8676
8676
  id: 'actions',
@@ -8967,7 +8967,7 @@ var UserList = function UserList(_ref2) {
8967
8967
  signupRequestListInfo = _useSelector3.signupRequestListInfo;
8968
8968
  var redirectToNotifications = function redirectToNotifications() {
8969
8969
  history.push({
8970
- pathname: ""
8970
+ pathname: "/settings/notifications"
8971
8971
  });
8972
8972
  };
8973
8973
  var openDeactivateModal = function openDeactivateModal() {
@@ -9585,9 +9585,9 @@ var UserList = function UserList(_ref2) {
9585
9585
  variant: "body2",
9586
9586
  className: clsx(styles$5.description)
9587
9587
  }, "Verify and add users to allow them to start using ITILITE. Set up preferences for receiving sign up request updates in", ' ', /*#__PURE__*/React__default.createElement("span", {
9588
- onClick: config.routes.notification && redirectToNotifications,
9588
+ onClick: redirectToNotifications,
9589
9589
  className: clsx(config.routes.notification && 'iui__cursor-pointer iui__border--bottom_solid_black500-1')
9590
- }, "Notifications"))), console.log("signupRequestListInfo", signupRequestListInfo), /*#__PURE__*/React__default.createElement(SingupRequests, {
9590
+ }, "Notifications"))), /*#__PURE__*/React__default.createElement(SingupRequests, {
9591
9591
  data: signupRequestListInfo,
9592
9592
  handleChangeRowsPerPage: function handleChangeRowsPerPage(event) {
9593
9593
  setSignUpRowsPerPage(+event.target.value);