@nokecy/qc-ui 0.9.8 → 0.9.9
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.
|
@@ -327,7 +327,7 @@ function AgGridPlus(props) {
|
|
|
327
327
|
return value;
|
|
328
328
|
}
|
|
329
329
|
//@ts-ignore
|
|
330
|
-
return colDef.customCellRenderer(params);
|
|
330
|
+
return typeof colDef.customCellRenderer == "string" ? colDef.customCellRenderer : colDef.customCellRenderer(params);
|
|
331
331
|
};
|
|
332
332
|
var getTableColumns = function getTableColumns(rowDataList) {
|
|
333
333
|
var data = rowDataList.length > 0 ? rowDataList[0] : {};
|
|
@@ -318,7 +318,7 @@ function AgGridPlus(props) {
|
|
|
318
318
|
return value;
|
|
319
319
|
}
|
|
320
320
|
//@ts-ignore
|
|
321
|
-
return colDef.customCellRenderer(params);
|
|
321
|
+
return typeof colDef.customCellRenderer == "string" ? colDef.customCellRenderer : colDef.customCellRenderer(params);
|
|
322
322
|
};
|
|
323
323
|
var getTableColumns = function getTableColumns(rowDataList) {
|
|
324
324
|
var data = rowDataList.length > 0 ? rowDataList[0] : {};
|