mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 08:26:01 +00:00
expanded cell view
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
export let selection;
|
||||
export let showWholeRow = false;
|
||||
export let expandAll = false;
|
||||
|
||||
let json = null;
|
||||
let error = null;
|
||||
@@ -31,7 +32,7 @@
|
||||
{:else}
|
||||
<div class="outer">
|
||||
<div class="inner">
|
||||
<JSONTree value={json} expanded />
|
||||
<JSONTree value={json} {expandAll} expanded />
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
6
packages/web/src/celldata/JsonExpandedCellView.svelte
Normal file
6
packages/web/src/celldata/JsonExpandedCellView.svelte
Normal file
@@ -0,0 +1,6 @@
|
||||
<script lang="ts">
|
||||
import JsonCellView from './JsonCellView.svelte';
|
||||
export let selection;
|
||||
</script>
|
||||
|
||||
<JsonCellView {selection} expandAll />
|
||||
Reference in New Issue
Block a user