@itilite/iui-user-management 0.4.913 → 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',
@@ -8966,7 +8966,9 @@ var UserList = function UserList(_ref2) {
8966
8966
  }),
8967
8967
  signupRequestListInfo = _useSelector3.signupRequestListInfo;
8968
8968
  var redirectToNotifications = function redirectToNotifications() {
8969
- history.push(config.routes.notification.path);
8969
+ history.push({
8970
+ pathname: "/settings/notifications"
8971
+ });
8970
8972
  };
8971
8973
  var openDeactivateModal = function openDeactivateModal() {
8972
8974
  if (Object.values(selected).flat().length === 0 || Object.values(selected).flat() === undefined) {
@@ -9583,7 +9585,7 @@ var UserList = function UserList(_ref2) {
9583
9585
  variant: "body2",
9584
9586
  className: clsx(styles$5.description)
9585
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", {
9586
- onClick: config.routes.notification && redirectToNotifications,
9588
+ onClick: redirectToNotifications,
9587
9589
  className: clsx(config.routes.notification && 'iui__cursor-pointer iui__border--bottom_solid_black500-1')
9588
9590
  }, "Notifications"))), /*#__PURE__*/React__default.createElement(SingupRequests, {
9589
9591
  data: signupRequestListInfo,