Fixed an issue where the Browser panel is not completely viewable. Fixes #7026
parent
86a3696ab4
commit
0b7bde2775
|
@ -25,6 +25,7 @@ Bug fixes
|
||||||
|
|
||||||
| `Issue #6725 <https://redmine.postgresql.org/issues/6725>`_ - Fixed an issue where the Query tool opens on minimum size if the user opens multiple query tool Window quickly.
|
| `Issue #6725 <https://redmine.postgresql.org/issues/6725>`_ - Fixed an issue where the Query tool opens on minimum size if the user opens multiple query tool Window quickly.
|
||||||
| `Issue #6958 <https://redmine.postgresql.org/issues/6958>`_ - Only set permissions on the storage directory upon creation.
|
| `Issue #6958 <https://redmine.postgresql.org/issues/6958>`_ - Only set permissions on the storage directory upon creation.
|
||||||
|
| `Issue #7026 <https://redmine.postgresql.org/issues/7026>`_ - Fixed an issue where the Browser panel is not completely viewable.
|
||||||
| `Issue #7168 <https://redmine.postgresql.org/issues/7168>`_ - Improvement to the Geometry Viewer popup to change the size of the result tables when column names are quite long.
|
| `Issue #7168 <https://redmine.postgresql.org/issues/7168>`_ - Improvement to the Geometry Viewer popup to change the size of the result tables when column names are quite long.
|
||||||
| `Issue #7187 <https://redmine.postgresql.org/issues/7187>`_ - Fixed an issue where the downloaded ERD diagram was 0 bytes.
|
| `Issue #7187 <https://redmine.postgresql.org/issues/7187>`_ - Fixed an issue where the downloaded ERD diagram was 0 bytes.
|
||||||
| `Issue #7188 <https://redmine.postgresql.org/issues/7188>`_ - Fixed an issue where the connection bar is not visible.
|
| `Issue #7188 <https://redmine.postgresql.org/issues/7188>`_ - Fixed an issue where the connection bar is not visible.
|
||||||
|
|
|
@ -86,12 +86,21 @@ var initBrowserTree = async (pgBrowser) => {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
await treeModelX.root.ensureLoaded()
|
await treeModelX.root.ensureLoaded();
|
||||||
|
var _height = undefined;
|
||||||
|
|
||||||
|
document.getElementsByClassName('wcLayoutPane').forEach((item, index) => {
|
||||||
|
if (index > 0 && $(item).find('#tree').length == 1) {
|
||||||
|
_height = item.clientHeight - 30;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
// Render Browser Tree
|
// Render Browser Tree
|
||||||
await render(
|
await render(
|
||||||
<FileTreeX model={treeModelX}
|
<FileTreeX model={treeModelX}
|
||||||
onReady={itemHandle} create={create} remove={remove} update={update}/>
|
onReady={itemHandle} create={create} remove={remove} update={update}
|
||||||
|
height={_height} />
|
||||||
, document.getElementById('tree'));
|
, document.getElementById('tree'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue