diff --git a/docs/en_US/release_notes_6_8.rst b/docs/en_US/release_notes_6_8.rst index c718c28c4..1e17b7afd 100644 --- a/docs/en_US/release_notes_6_8.rst +++ b/docs/en_US/release_notes_6_8.rst @@ -26,6 +26,7 @@ Bug fixes | `Issue #7216 `_ - Ensure that the values of certain fields are prettified in the statistics tab for collection nodes. | `Issue #7221 `_ - Ensure objects depending on extensions are not displayed in Schema Diff. | `Issue #7238 `_ - Fixed an issue where foreign key is not removed even if the referred table is removed in ERD. + | `Issue #7239 `_ - Fixed an issue where the newly added table is not visible under the Tables node on refresh. | `Issue #7261 `_ - Correct typo in the documentation. | `Issue #7263 `_ - Fixed schema diff issue where function's difference DDL was showing incorrectly when arguments had default values with commas. | `Issue #7265 `_ - Fixed schema diff issue in which the option 'null' doesn't appear in the DDL statement for the foreign table. diff --git a/web/pgadmin/static/js/tree/tree.js b/web/pgadmin/static/js/tree/tree.js index 266bddfc0..fd6793ca4 100644 --- a/web/pgadmin/static/js/tree/tree.js +++ b/web/pgadmin/static/js/tree/tree.js @@ -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); }