json view in perspective improvement

This commit is contained in:
Jan Prochazka
2022-09-15 16:04:44 +02:00
parent 24b0d278fd
commit fe61e5e631
3 changed files with 14 additions and 4 deletions

View File

@@ -14,7 +14,7 @@
<td rowspan={rowSpan} data-column={columnIndex}>
{#if value !== undefined}
{#if displayType == 'json'}
<JSONTree value={safeJsonParse(value)} />
<JSONTree value={safeJsonParse(value)} slicedKeyCount={1} disableContextMenu />
{:else}
<CellValue {rowData} {value} />
{/if}