We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c248f46 commit 6d8faffCopy full SHA for 6d8faff
1 file changed
src/LogTable.js
@@ -285,7 +285,6 @@ function LogTable(props) {
285
return column.solutionTypes.indexOf(props.logData.solutionType) !== -1;
286
}
287
);
288
-
289
// Add dynamic columns
290
_.map(props.extraColumns, (dotPath) => {
291
const elems = dotPath.split(".");
@@ -294,6 +293,11 @@ function LogTable(props) {
294
293
accessor: dotPath === ".error" ? "error" : dotPath,
295
width: columnRegularWidth,
296
className: "logtable-cell",
+ Cell: ({ cell }) => {
297
+ const value = cell.value;
298
+ if (value === undefined || value === null) return null;
299
+ return typeof value === "boolean" ? String(value) : value;
300
+ },
301
});
302
303
const headers = [
0 commit comments