@nokecy/qc-ui 0.9.5 → 0.9.6
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.
|
@@ -338,7 +338,7 @@ function AgGridPlus(props) {
|
|
|
338
338
|
var columnDefs = !columnProps ? props.columnDefs ? props.columnDefs : [] : columnProps;
|
|
339
339
|
columnDefs = columnDefs.map(function (col) {
|
|
340
340
|
var dataType = getDataType(data, col.field);
|
|
341
|
-
if (col.type || col.
|
|
341
|
+
if (col.type || col.cellRenderer) {
|
|
342
342
|
return _objectSpread(_objectSpread({}, col), {}, {
|
|
343
343
|
customCellRenderer: col.cellRenderer,
|
|
344
344
|
cellRenderer: cellRenderer
|
|
@@ -329,7 +329,7 @@ function AgGridPlus(props) {
|
|
|
329
329
|
var columnDefs = !columnProps ? props.columnDefs ? props.columnDefs : [] : columnProps;
|
|
330
330
|
columnDefs = columnDefs.map(function (col) {
|
|
331
331
|
var dataType = getDataType(data, col.field);
|
|
332
|
-
if (col.type || col.
|
|
332
|
+
if (col.type || col.cellRenderer) {
|
|
333
333
|
return _objectSpread(_objectSpread({}, col), {}, {
|
|
334
334
|
customCellRenderer: col.cellRenderer,
|
|
335
335
|
cellRenderer: cellRenderer
|