mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where the newly added table is not visible under the Tables node on refresh. Fixes #7239
This commit is contained in:
parent
38b69c91a1
commit
08e00ccebc
@ -26,6 +26,7 @@ Bug fixes
|
||||
| `Issue #7216 <https://redmine.postgresql.org/issues/7216>`_ - Ensure that the values of certain fields are prettified in the statistics tab for collection nodes.
|
||||
| `Issue #7221 <https://redmine.postgresql.org/issues/7221>`_ - Ensure objects depending on extensions are not displayed in Schema Diff.
|
||||
| `Issue #7238 <https://redmine.postgresql.org/issues/7238>`_ - Fixed an issue where foreign key is not removed even if the referred table is removed in ERD.
|
||||
| `Issue #7239 <https://redmine.postgresql.org/issues/7239>`_ - Fixed an issue where the newly added table is not visible under the Tables node on refresh.
|
||||
| `Issue #7261 <https://redmine.postgresql.org/issues/7261>`_ - Correct typo in the documentation.
|
||||
| `Issue #7263 <https://redmine.postgresql.org/issues/7263>`_ - Fixed schema diff issue where function's difference DDL was showing incorrectly when arguments had default values with commas.
|
||||
| `Issue #7265 <https://redmine.postgresql.org/issues/7265>`_ - Fixed schema diff issue in which the option 'null' doesn't appear in the DDL statement for the foreign table.
|
||||
|
@ -85,6 +85,10 @@ export class Tree {
|
||||
}
|
||||
|
||||
async refresh(item) {
|
||||
// Set _children to null as empty array not reload the children nodes on refresh.
|
||||
if(item.children?.length == 0) {
|
||||
item._children = null;
|
||||
}
|
||||
await this.tree.refresh(item);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user