@bigbinary/neeto-team-members-frontend 2.11.1 → 2.11.3

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
@@ -4951,7 +4951,7 @@ var useFetchMembers = function useFetchMembers() {
4951
4951
  select: ramda.identity,
4952
4952
  keepPreviousData: true
4953
4953
  }, options), {}, {
4954
- refetchOnWindowFocus: "always"
4954
+ refetchOnWindowFocus: false
4955
4955
  }));
4956
4956
  };
4957
4957
  var useCreateMember = function useCreateMember(_ref) {
@@ -5006,7 +5006,7 @@ var useFetchFilterOptions = function useFetchFilterOptions(_ref5) {
5006
5006
  }, _objectSpread$9(_objectSpread$9({
5007
5007
  select: ramda.identity
5008
5008
  }, options), {}, {
5009
- refetchOnWindowFocus: "always"
5009
+ refetchOnWindowFocus: false
5010
5010
  }));
5011
5011
  };
5012
5012
 
@@ -5983,7 +5983,7 @@ var AppList = function AppList(_ref) {
5983
5983
  var appName = _ref2.appName,
5984
5984
  isEnabled = _ref2.isEnabled;
5985
5985
  var isCurrentApp = appName === ((_globalProps$appName2 = initializers.globalProps.appName) === null || _globalProps$appName2 === void 0 ? void 0 : _globalProps$appName2.substring(5));
5986
- var isAppRoleSelectionChecked = isCurrentApp || isEnabled && isAppListEnabled;
5986
+ var isAppRoleSelectionChecked = isCurrentApp || isEnabled;
5987
5987
  return /*#__PURE__*/React__default["default"].createElement("div", {
5988
5988
  className: "ntm-manage-members__app-roles",
5989
5989
  key: appName
@@ -5993,7 +5993,7 @@ var AppList = function AppList(_ref) {
5993
5993
  position: "left"
5994
5994
  }, /*#__PURE__*/React__default["default"].createElement("span", null, /*#__PURE__*/React__default["default"].createElement(formik$1.Switch, {
5995
5995
  checked: isAppRoleSelectionChecked,
5996
- disabled: isCurrentApp || !isAppListEnabled,
5996
+ disabled: isCurrentApp,
5997
5997
  name: "appsRoles[".concat(index, "].isEnabled"),
5998
5998
  label: t("neetoTeamMembers.labels.neeto_", {
5999
5999
  product: appName