diff --git a/docs/en_US/release_notes_6_14.rst b/docs/en_US/release_notes_6_14.rst index a03daff7b..3d7ae1f65 100644 --- a/docs/en_US/release_notes_6_14.rst +++ b/docs/en_US/release_notes_6_14.rst @@ -39,3 +39,4 @@ Bug fixes | `Issue #7656 `_ - Fixed an issue where textarea of the JSON Editor does not resize with dialog. | `Issue #7663 `_ - Fixed ModuleNotFoundError when running setup.py to load/dump servers. | `Issue #7693 `_ - Replace the language selection 'Brazilian' with 'Portuguese (Brazilian). + | `Issue #7709 `_ - Fixed an issue where ERD throws an error if variable is added to the column. diff --git a/web/pgadmin/tools/erd/static/js/erd_tool/ERDCore.js b/web/pgadmin/tools/erd/static/js/erd_tool/ERDCore.js index 29f650eb9..afcf30c3c 100644 --- a/web/pgadmin/tools/erd/static/js/erd_tool/ERDCore.js +++ b/web/pgadmin/tools/erd/static/js/erd_tool/ERDCore.js @@ -285,8 +285,8 @@ export default class ERDCore { Object.values(existPort.getLinks()).forEach((link)=>{ self.removeOneToManyLink(link); }); + tableNode.removePort(existPort); } - tableNode.removePort(existPort); }); }