Table: add space between values on JSONViewCell (#42156)

fixes #42024
This commit is contained in:
Derik Evangelista 2021-11-24 11:45:05 +00:00 committed by GitHub
parent 1b4f6b19cb
commit 3110a9c238
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ export function JSONViewCell(props: TableCellProps): JSX.Element {
value = JSON.parse(value);
} catch {} // ignore errors
} else {
displayValue = JSON.stringify(value);
displayValue = JSON.stringify(value, null, ' ');
}
const content = <JSONTooltip value={value} />;