mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix(plugin-data-viewer): CB-751 value panel resize behavior
This commit is contained in:
@@ -173,8 +173,8 @@ export const TableViewer = observer(function TableViewer({
|
||||
<table-data as='div'>
|
||||
<table-box as='div'>
|
||||
{(overlay || !loading) && (
|
||||
<Split sticky={30} mode={valuePresentation?.dataFormat === dataFormat ? undefined : 'maximize'} keepRatio>
|
||||
<Pane main>
|
||||
<Split sticky={30} mode={valuePresentation?.dataFormat === dataFormat ? undefined : 'minimize'} keepRatio>
|
||||
<Pane>
|
||||
{dataModel.source.hasResult(resultIndex) && (
|
||||
<TableGrid
|
||||
model={dataModel}
|
||||
@@ -197,7 +197,7 @@ export const TableViewer = observer(function TableViewer({
|
||||
</error>
|
||||
</Pane>
|
||||
{valuePresentation?.dataFormat === dataFormat && <ResizerControls />}
|
||||
<Pane>
|
||||
<Pane main>
|
||||
<ValuePanel
|
||||
model={dataModel}
|
||||
dataFormat={dataFormat}
|
||||
|
||||
Reference in New Issue
Block a user