@bchr/bchr-front-lib 0.3.153 → 0.3.154
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.
|
@@ -553,6 +553,10 @@ var GridForBrowse = /*#__PURE__*/function (_React$Component) {
|
|
|
553
553
|
}, {
|
|
554
554
|
key: "buildCell",
|
|
555
555
|
value: function buildCell(config, props) {
|
|
556
|
+
if (!this.gridRef.current) {
|
|
557
|
+
return /*#__PURE__*/_react["default"].createElement("td", null);
|
|
558
|
+
}
|
|
559
|
+
|
|
556
560
|
var allColumns = this.gridRef.current.columns;
|
|
557
561
|
var dataItem = props.dataItem,
|
|
558
562
|
columnIndex = props.columnIndex;
|
package/package.json
CHANGED
|
@@ -294,6 +294,10 @@ class GridForBrowse extends React.Component{
|
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
buildCell(config, props) {
|
|
297
|
+
if (!this.gridRef.current) {
|
|
298
|
+
return <td></td>;
|
|
299
|
+
}
|
|
300
|
+
|
|
297
301
|
let allColumns = this.gridRef.current.columns;
|
|
298
302
|
let {dataItem, columnIndex} = props;
|
|
299
303
|
let {default_locked_fields, customCells, grid_info_record_of_data_check} = this.props;
|