mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-18 02:05:52 +08:00
chore: tree is expanded by default (#3563)
This commit is contained in:
parent
56f1f71461
commit
e3f17b5420
@ -167,7 +167,9 @@ function TableView({
|
|||||||
if (record.field === 'body') {
|
if (record.field === 'body') {
|
||||||
const parsedBody = recursiveParseJSON(field);
|
const parsedBody = recursiveParseJSON(field);
|
||||||
if (!isEmpty(parsedBody)) {
|
if (!isEmpty(parsedBody)) {
|
||||||
return <Tree showLine treeData={jsonToDataNodes(parsedBody)} />;
|
return (
|
||||||
|
<Tree defaultExpandAll showLine treeData={jsonToDataNodes(parsedBody)} />
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user