Fixed an issue where the browser tree doesn't show all contents on changing resolution. Fixes #6881

pull/62/head
Khushboo Vashi 2021-10-12 15:02:46 +05:30 committed by Akshay Joshi
parent a726635290
commit ac6c6fbf97
3 changed files with 3 additions and 3 deletions

View File

@ -24,4 +24,5 @@ Bug fixes
| `Issue #6719 <https://redmine.postgresql.org/issues/6719>`_ - Fixed OAuth2 integration redirect issue.
| `Issue #6797 <https://redmine.postgresql.org/issues/6797>`_ - Remove an extra blank line at the start of the SQL for function, procedure, and trigger function.
| `Issue #6828 <https://redmine.postgresql.org/issues/6828>`_ - Fixed an issue where the tree is not scrolling to the object selected from the search result.
| `Issue #6881 <https://redmine.postgresql.org/issues/6881>`_ - Fixed an issue where the browser tree doesn't show all contents on changing resolution.
| `Issue #6882 <https://redmine.postgresql.org/issues/6882>`_ - Ensure that columns should be displayed in the order of creation instead of alphabetical order in the browser tree.

View File

@ -136,7 +136,7 @@
"path-fx": "^2.0.0",
"pathfinding": "^0.4.18",
"paths-js": "^0.4.9",
"pgadmin4-tree": "git+https://github.com/EnterpriseDB/pgadmin4-treeview/#ec58f480f43aa6deb862778d49d6f2fb797a7d13",
"pgadmin4-tree": "git+https://github.com/EnterpriseDB/pgadmin4-treeview/#bc66dff13c17f256355d4f2bf79e3458007868bc",
"postcss": "^8.2.15",
"raf": "^3.4.1",
"react": "^17.0.1",

View File

@ -87,11 +87,10 @@ var initBrowserTree = async (pgBrowser) => {
await treeModelX.root.ensureLoaded()
let tree_height = window.outerHeight - 300;
// Render Browser Tree
await render(
<div>
<FileTreeX height={tree_height} width={'100%'} model={treeModelX}
<FileTreeX model={treeModelX}
onReady={itemHandle} create={create} remove={remove} update={update}/>
</div>, document.getElementById('tree'));
}