orc-shared 5.10.0-dev.16 → 5.10.0-dev.18

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.
@@ -81,7 +81,9 @@ var TableWithInMemoryPaging = function TableWithInMemoryPaging(_ref) {
81
81
  _ref$placeholderTitle = _ref.placeholderTitle,
82
82
  placeholderTitle = _ref$placeholderTitle === void 0 ? null : _ref$placeholderTitle,
83
83
  _ref$placeholderSubti = _ref.placeholderSubtitle,
84
- placeholderSubtitle = _ref$placeholderSubti === void 0 ? null : _ref$placeholderSubti;
84
+ placeholderSubtitle = _ref$placeholderSubti === void 0 ? null : _ref$placeholderSubti,
85
+ _ref$rowKeyField = _ref.rowKeyField,
86
+ rowKeyField = _ref$rowKeyField === void 0 ? "id" : _ref$rowKeyField;
85
87
  var _useIntl = (0, _reactIntl.useIntl)(),
86
88
  formatMessage = _useIntl.formatMessage;
87
89
  var tableRef = (0, _react.useRef)(null);
@@ -106,7 +108,7 @@ var TableWithInMemoryPaging = function TableWithInMemoryPaging(_ref) {
106
108
  filters = _useInMemoryPaging.filters,
107
109
  setFilter = _useInMemoryPaging.setFilter,
108
110
  totalCount = _useInMemoryPaging.totalCount;
109
- var _buildHeaderAndRowFro = (0, _tableHelpers.default)(columnDefs, rowsSlice, isReadMode),
111
+ var _buildHeaderAndRowFro = (0, _tableHelpers.default)(columnDefs, rowsSlice, isReadMode, rowKeyField),
110
112
  headers = _buildHeaderAndRowFro.headers,
111
113
  rows = _buildHeaderAndRowFro.rows;
112
114
  var placeholder = /*#__PURE__*/_react.default.createElement(_Placeholder.default, {