@bento-core/table 1.0.1-ccdihub.104 → 1.0.1-ccdihub.105

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.
@@ -250,26 +250,30 @@ const CPIModal = _ref => {
250
250
  const participantId = row.participant_id;
251
251
  const displayColumns = [{
252
252
  dataField: 'associated_id',
253
- header: 'Participant ID'
253
+ header: 'Participant ID',
254
254
  // tooltipText: 'sort',
255
+ sortable: false
255
256
  }, {
256
257
  dataField: 'repository_of_synonym_id',
257
- header: 'Name'
258
+ header: 'Name',
258
259
  // tooltipText: 'sort',
260
+ sortable: false
259
261
  }, {
260
262
  dataField: 'domain_description',
261
- header: 'Description'
263
+ header: 'Description',
262
264
  // tooltipText: 'sort',
265
+ sortable: false
263
266
  }, {
264
267
  dataField: 'domain_category',
265
- header: 'Category'
268
+ header: 'Category',
266
269
  // tooltipText: 'sort',
270
+ sortable: false
267
271
  }, {
268
272
  dataField: 'data_location',
269
- header: 'Location'
273
+ header: 'Location',
270
274
  // tooltipText: 'sort',
275
+ sortable: false
271
276
  }];
272
-
273
277
  return /*#__PURE__*/_react.default.createElement(_core.Modal, {
274
278
  open: open,
275
279
  onClose: onClose,
@@ -54,7 +54,8 @@ const CustomHeaderCell = _ref => {
54
54
  }, []);
55
55
  if (sortable !== undefined && !sortable) {
56
56
  return /*#__PURE__*/_react.default.createElement(_TableCell.default, {
57
- scope: "col"
57
+ scope: "col",
58
+ style: style
58
59
  }, header);
59
60
  }
60
61
  return /*#__PURE__*/_react.default.createElement(_TableCell.default, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bento-core/table",
3
- "version": "1.0.1-ccdihub.104",
3
+ "version": "1.0.1-ccdihub.105",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "build": "npm run lint && cross-env-shell rm -rf dist && NODE_ENV=production BABEL_ENV=es babel src --out-dir dist --copy-files",
@@ -279,26 +279,31 @@ const CPIModal = ({
279
279
  dataField: 'associated_id',
280
280
  header: 'Participant ID',
281
281
  // tooltipText: 'sort',
282
+ sortable: false,
282
283
  },
283
284
  {
284
285
  dataField: 'repository_of_synonym_id',
285
286
  header: 'Name',
286
287
  // tooltipText: 'sort',
288
+ sortable: false,
287
289
  },
288
290
  {
289
291
  dataField: 'domain_description',
290
292
  header: 'Description',
291
293
  // tooltipText: 'sort',
294
+ sortable: false,
292
295
  },
293
296
  {
294
297
  dataField: 'domain_category',
295
298
  header: 'Category',
296
299
  // tooltipText: 'sort',
300
+ sortable: false,
297
301
  },
298
302
  {
299
303
  dataField: 'data_location',
300
304
  header: 'Location',
301
305
  // tooltipText: 'sort',
306
+ sortable: false,
302
307
  },
303
308
  ];
304
309
 
@@ -51,6 +51,7 @@ const CustomHeaderCell = ({
51
51
  return (
52
52
  <TableCell
53
53
  scope="col"
54
+ style={style}
54
55
  >
55
56
  {header}
56
57
  </TableCell>