@itilite/iui-user-management 0.4.58 → 0.4.60

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
@@ -4943,6 +4943,7 @@ var ErrorMessages = {
4943
4943
  passport_expiry_date: 'Please enter passport expiry date.',
4944
4944
  passport_photo: 'Please attach passport photo.',
4945
4945
  travel_docs: 'Please attach travel docs.',
4946
+ products: 'Please select atleast one product access.',
4946
4947
  only_cards_products: 'Select at least one additional product if opting for cards.',
4947
4948
  none_products: 'Select at least one product. If opting for cards, please choose at least one additional product.'
4948
4949
  };
@@ -5122,7 +5123,7 @@ var UserAddEdit = function UserAddEdit(props) {
5122
5123
  if (_errorArray2.indexOf('products') === -1) {
5123
5124
  _errorArray2.push('products');
5124
5125
  }
5125
- _errorMsgs2.products = ErrorMessages.none_products;
5126
+ _errorMsgs2.products = ErrorMessages.products;
5126
5127
  setErrorArray(_errorArray2);
5127
5128
  setErrorMsgs(_errorMsgs2);
5128
5129
  var _el = document.getElementById('products');
@@ -6942,7 +6943,7 @@ var UserAddEdit = function UserAddEdit(props) {
6942
6943
  md: 4
6943
6944
  }, /*#__PURE__*/React__default.createElement(iuistyles.IUILabel, {
6944
6945
  label: "Product access",
6945
- description: isProfile ? '' : 'Please select a product. Cards are available along with at least one additional product.',
6946
+ description: isProfile ? '' : 'Select at least one product',
6946
6947
  headerType: true,
6947
6948
  required: true
6948
6949
  })), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {