Skip to content
Snippets Groups Projects
Commit c0485469 authored by Tom Robinson's avatar Tom Robinson
Browse files

Format nested objects as JSON in table view

parent 8e32b865
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,9 @@ export function formatCell(value, column) {
} else {
return formatNumber(value);
}
} else if (typeof value === "object") {
// no extra whitespace for table cells
return JSON.stringify(value);
} else {
return String(value);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment