@reltio/components 1.4.1805 → 1.4.1806
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.
|
@@ -140,8 +140,8 @@ var AttributesTable = function (_a) {
|
|
|
140
140
|
isLoading && react_1.default.createElement(LinearLoadIndicator_1.default, null),
|
|
141
141
|
react_1.default.createElement(BasicTable_1.BasicTable, { fixFirstColumn: true, headRowHeight: 48, defaultColumnWidth: 250, defaultColumnMinWidth: 200, columnsData: visibleColumnsData, dndRowReorderingEnabled: false, dndRowReorderingHandler: handleReorderAttributeTypes, getIdFromRowValue: getIdFromRowValue, rowsData: rowsData, renderRowCell: renderRowCell, getRowCellHeight: getRowCellHeight, context: tableContext })),
|
|
142
142
|
react_1.default.createElement(ConfirmDeleteDialog_1.default, { open: !!pendingDeletion, onClose: function () { return setPendingDeletion(null); }, onConfirm: handleDelete }),
|
|
143
|
-
react_1.default.createElement(ConfirmEditIgnoredDialog_1.default, { open: !!pendingIgnoredEditing, onClose: function () { return setPendingIgnoredEditing(null); }, onConfirmEditWithIgnore: function () { return onEdit(pendingIgnoredEditing); }, onConfirmEditWithoutIgnore: function () {
|
|
144
|
-
onEdit(__assign(__assign({}, pendingIgnoredEditing), { clearAttributeFlags: true }));
|
|
143
|
+
react_1.default.createElement(ConfirmEditIgnoredDialog_1.default, { open: !!pendingIgnoredEditing, onClose: function () { return setPendingIgnoredEditing(null); }, onConfirmEditWithIgnore: function () { return pendingIgnoredEditing && onEdit(pendingIgnoredEditing); }, onConfirmEditWithoutIgnore: function () {
|
|
144
|
+
pendingIgnoredEditing && onEdit(__assign(__assign({}, pendingIgnoredEditing), { clearAttributeFlags: true }));
|
|
145
145
|
} })));
|
|
146
146
|
};
|
|
147
147
|
exports.default = (0, react_1.memo)(AttributesTable);
|
|
@@ -112,8 +112,8 @@ var AttributesTable = function (_a) {
|
|
|
112
112
|
isLoading && React.createElement(LinearLoadIndicator, null),
|
|
113
113
|
React.createElement(BasicTable, { fixFirstColumn: true, headRowHeight: 48, defaultColumnWidth: 250, defaultColumnMinWidth: 200, columnsData: visibleColumnsData, dndRowReorderingEnabled: false, dndRowReorderingHandler: handleReorderAttributeTypes, getIdFromRowValue: getIdFromRowValue, rowsData: rowsData, renderRowCell: renderRowCell, getRowCellHeight: getRowCellHeight, context: tableContext })),
|
|
114
114
|
React.createElement(ConfirmDeleteDialog, { open: !!pendingDeletion, onClose: function () { return setPendingDeletion(null); }, onConfirm: handleDelete }),
|
|
115
|
-
React.createElement(ConfirmEditIgnoredDialog, { open: !!pendingIgnoredEditing, onClose: function () { return setPendingIgnoredEditing(null); }, onConfirmEditWithIgnore: function () { return onEdit(pendingIgnoredEditing); }, onConfirmEditWithoutIgnore: function () {
|
|
116
|
-
onEdit(__assign(__assign({}, pendingIgnoredEditing), { clearAttributeFlags: true }));
|
|
115
|
+
React.createElement(ConfirmEditIgnoredDialog, { open: !!pendingIgnoredEditing, onClose: function () { return setPendingIgnoredEditing(null); }, onConfirmEditWithIgnore: function () { return pendingIgnoredEditing && onEdit(pendingIgnoredEditing); }, onConfirmEditWithoutIgnore: function () {
|
|
116
|
+
pendingIgnoredEditing && onEdit(__assign(__assign({}, pendingIgnoredEditing), { clearAttributeFlags: true }));
|
|
117
117
|
} })));
|
|
118
118
|
};
|
|
119
119
|
export default memo(AttributesTable);
|