@bigbinary/neeto-team-members-frontend 2.8.24 → 2.8.25

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.cjs.js CHANGED
@@ -7296,6 +7296,7 @@ var ManageMember = function ManageMember(_ref) {
7296
7296
  var _useTranslation = reactI18next.useTranslation(),
7297
7297
  t = _useTranslation.t;
7298
7298
  var isViewPermissionGranted = config.permissions.view;
7299
+ var isNotDevelopment = initializers.globalProps.railsEnv !== "development";
7299
7300
  var _useState = React.useState(FORM_PAGES.MAIN),
7300
7301
  _useState2 = _slicedToArray(_useState, 2),
7301
7302
  currentPage = _useState2[0],
@@ -7327,7 +7328,7 @@ var ManageMember = function ManageMember(_ref) {
7327
7328
  select: function select(response) {
7328
7329
  return ramda.groupBy(ramda.prop("appName"), response !== null && response !== void 0 ? response : []);
7329
7330
  },
7330
- enabled: !selectedMember && isViewPermissionGranted
7331
+ enabled: isNotDevelopment && !selectedMember && isViewPermissionGranted
7331
7332
  }),
7332
7333
  _useFetchGlobalRoles$ = _useFetchGlobalRoles.data,
7333
7334
  globalRoles = _useFetchGlobalRoles$ === void 0 ? {} : _useFetchGlobalRoles$,