@bigbinary/neeto-team-members-frontend 2.11.4 → 2.11.5

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
@@ -5156,12 +5156,13 @@ var getDefaultColumns = function getDefaultColumns(_ref5) {
5156
5156
  displayStatusTag = _ref5.displayStatusTag,
5157
5157
  handleUpdateRole = _ref5.handleUpdateRole,
5158
5158
  handleUpdateStatus = _ref5.handleUpdateStatus,
5159
- otherColumns = _ref5.otherColumns;
5159
+ otherColumns = _ref5.otherColumns,
5160
+ isSize = _ref5.isSize;
5160
5161
  return [{
5161
5162
  dataIndex: "name",
5162
5163
  key: "name",
5163
5164
  width: 300,
5164
- fixed: neetoCist.isNotEmpty(otherColumns),
5165
+ fixed: neetoCist.isNotEmpty(otherColumns) && !isSize("mobile"),
5165
5166
  render: function render(_, tableData) {
5166
5167
  return renderNameColumn({
5167
5168
  config: config,
@@ -5205,7 +5206,8 @@ var getColumnData = function getColumnData(_ref7) {
5205
5206
  var config = _ref7.config,
5206
5207
  handleUpdateRole = _ref7.handleUpdateRole,
5207
5208
  handleUpdateStatus = _ref7.handleUpdateStatus,
5208
- memberFilter = _ref7.memberFilter;
5209
+ memberFilter = _ref7.memberFilter,
5210
+ isSize = _ref7.isSize;
5209
5211
  var displayStatusTag = ramda.identical(memberFilter, MEMBER_FILTER.ALL.value);
5210
5212
  var otherColumns = (_config$otherColumns = config === null || config === void 0 ? void 0 : config.otherColumns) !== null && _config$otherColumns !== void 0 ? _config$otherColumns : [];
5211
5213
  var defaultColumns = getDefaultColumns({
@@ -5213,7 +5215,8 @@ var getColumnData = function getColumnData(_ref7) {
5213
5215
  displayStatusTag: displayStatusTag,
5214
5216
  handleUpdateRole: handleUpdateRole,
5215
5217
  handleUpdateStatus: handleUpdateStatus,
5216
- otherColumns: otherColumns
5218
+ otherColumns: otherColumns,
5219
+ isSize: isSize
5217
5220
  });
5218
5221
  var columns = defaultColumns.map(function (column) {
5219
5222
  var otherColumn = otherColumns.find(function (_ref8) {
@@ -6649,6 +6652,8 @@ var TeamMembers = function TeamMembers(_ref) {
6649
6652
  t = _useTranslation.t;
6650
6653
  var history = reactRouterDom.useHistory();
6651
6654
  var location = reactRouterDom.useLocation();
6655
+ var _useBreakpoints = reactUtils.useBreakpoints(),
6656
+ isSize = _useBreakpoints.isSize;
6652
6657
  var isViewPermissionGranted = config.permissions.view;
6653
6658
  var isCreatePermissionGranted = config.permissions.create;
6654
6659
  var _useState = React.useState(false),
@@ -6732,7 +6737,8 @@ var TeamMembers = function TeamMembers(_ref) {
6732
6737
  config: config,
6733
6738
  handleUpdateRole: handleUpdateRole,
6734
6739
  handleUpdateStatus: handleUpdateStatus,
6735
- memberFilter: filters.category
6740
+ memberFilter: filters.category,
6741
+ isSize: isSize
6736
6742
  });
6737
6743
  }, [filters.category] // eslint-disable-line react-hooks/exhaustive-deps
6738
6744
  );