mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-29 12:14:00 +00:00
perspective: show undefined
cells
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
export let displayType;
|
export let displayType;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<td rowspan={rowSpan} data-column={columnIndex}>
|
<td rowspan={rowSpan} data-column={columnIndex} class:isEmpty={value===undefined}>
|
||||||
{#if value !== undefined}
|
{#if value !== undefined}
|
||||||
{#if displayType == 'json'}
|
{#if displayType == 'json'}
|
||||||
<JSONTree value={safeJsonParse(value, value?.toString())} slicedKeyCount={1} disableContextMenu />
|
<JSONTree value={safeJsonParse(value, value?.toString())} slicedKeyCount={1} disableContextMenu />
|
||||||
@@ -41,6 +41,11 @@
|
|||||||
border-bottom: 1px solid var(--theme-border);
|
border-bottom: 1px solid var(--theme-border);
|
||||||
border-right: 1px solid var(--theme-border);
|
border-right: 1px solid var(--theme-border);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
td.isEmpty {
|
||||||
|
background-color: var(--theme-bg-1);
|
||||||
|
}
|
||||||
|
|
||||||
td:global(.highlight) {
|
td:global(.highlight) {
|
||||||
border: 3px solid var(--theme-icon-blue);
|
border: 3px solid var(--theme-icon-blue);
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
|||||||
Reference in New Issue
Block a user