@mailstep/design-system 0.6.70-beta.1 → 0.6.70
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/package.json +1 -1
- package/ui/Blocks/CommonGrid/hooks/useEditReadAsColumn.js +2 -2
- package/ui/index.es.js +15871 -15374
- package/ui/index.umd.js +623 -623
package/package.json
CHANGED
|
@@ -29,7 +29,7 @@ var useEditReadAsColumn = function (props) {
|
|
|
29
29
|
return undefined;
|
|
30
30
|
}
|
|
31
31
|
}, [actionColumnDefinition]);
|
|
32
|
-
var modifiedOnRowAction = useCallback(function (id, field, value) {
|
|
32
|
+
var modifiedOnRowAction = useCallback(function (id, field, value, rowData) {
|
|
33
33
|
if (field === 'row_edit' || field === 'row_read') {
|
|
34
34
|
if (field === 'row_edit' && onRowEditClick)
|
|
35
35
|
onRowEditClick(id, value);
|
|
@@ -37,7 +37,7 @@ var useEditReadAsColumn = function (props) {
|
|
|
37
37
|
onRowReadClick(id, value);
|
|
38
38
|
}
|
|
39
39
|
else if (onRowAction) {
|
|
40
|
-
return onRowAction(id, field, value);
|
|
40
|
+
return onRowAction(id, field, value, rowData);
|
|
41
41
|
}
|
|
42
42
|
}, [onRowAction, onRowEditClick, onRowReadClick]);
|
|
43
43
|
// TODO Entire logic of row edit / row read need to be completely refactored.
|