diff --git a/frontend/src/expr/JsonTree.tsx b/frontend/src/expr/JsonTree.tsx index c364a3e..937bfae 100644 --- a/frontend/src/expr/JsonTree.tsx +++ b/frontend/src/expr/JsonTree.tsx @@ -76,7 +76,15 @@ function BranchOrLeaf({ label, value, path, depth, pickable, onPick }: NodeProps {!branch && ( <> : - {leafPreview(value)} + {typeof value === "string" ? ( + <> + " + {truncate(value, 40)} + " + + ) : ( + {leafPreview(value)} + )} )} {branch && (