@bento-core/table 1.0.1-ccdihub.111 → 1.0.1-ccdihub.113
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.
|
@@ -228,6 +228,7 @@ const CPIModal = _ref => {
|
|
|
228
228
|
const dropdownRef = (0, _react.useRef)(null);
|
|
229
229
|
const participantId = row.participant_id;
|
|
230
230
|
const studyId = row.study_id;
|
|
231
|
+
const cpiData = row.cpi_data;
|
|
231
232
|
(0, _react.useEffect)(() => {
|
|
232
233
|
setData(row.cpi_data);
|
|
233
234
|
}, [row]);
|
|
@@ -298,7 +299,7 @@ const CPIModal = _ref => {
|
|
|
298
299
|
size: 'xl',
|
|
299
300
|
clsName: 'container_header',
|
|
300
301
|
items: [{
|
|
301
|
-
participantIds:
|
|
302
|
+
participantIds: cpiData,
|
|
302
303
|
title: 'ADD ALL FILES FOR PARTICIPANT',
|
|
303
304
|
clsName: 'add_all_button',
|
|
304
305
|
role: 'ADD_ALL_FILES',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bento-core/table",
|
|
3
|
-
"version": "1.0.1-ccdihub.
|
|
3
|
+
"version": "1.0.1-ccdihub.113",
|
|
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",
|
|
@@ -235,6 +235,7 @@ const CPIModal = ({
|
|
|
235
235
|
|
|
236
236
|
const participantId = row.participant_id;
|
|
237
237
|
const studyId = row.study_id;
|
|
238
|
+
const cpiData = row.cpi_data;
|
|
238
239
|
|
|
239
240
|
useEffect(() => {
|
|
240
241
|
setData(row.cpi_data);
|
|
@@ -318,7 +319,7 @@ const CPIModal = ({
|
|
|
318
319
|
clsName: 'container_header',
|
|
319
320
|
items: [
|
|
320
321
|
{
|
|
321
|
-
participantIds:
|
|
322
|
+
participantIds: cpiData,
|
|
322
323
|
title: 'ADD ALL FILES FOR PARTICIPANT',
|
|
323
324
|
clsName: 'add_all_button',
|
|
324
325
|
role: 'ADD_ALL_FILES',
|