mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Allow the referenced table to be the same as the local table in one to many relationship for ERD Tool. Fixes #6495
This commit is contained in:
parent
7efef73ff7
commit
94b40775a1
@ -11,6 +11,7 @@ New features
|
||||
|
||||
| `Issue #4264 <https://redmine.postgresql.org/issues/4264>`_ - Make code folding case insensitive in the code mirror.
|
||||
| `Issue #4629 <https://redmine.postgresql.org/issues/4629>`_ - Added database and server information on the Maintenance process watcher dialog.
|
||||
| `Issue #6495 <https://redmine.postgresql.org/issues/6495>`_ - Allow the referenced table to be the same as the local table in one to many relationship for ERD Tool.
|
||||
| `Issue #6691 <https://redmine.postgresql.org/issues/6691>`_ - Set PSQLRC and PSQL_HISTORY env vars to apt. user storage path in the server mode.
|
||||
|
||||
Housekeeping
|
||||
|
@ -63,9 +63,6 @@ export default class OneToManyDialog {
|
||||
editable: true, options: (view)=>{
|
||||
let retOpts = [];
|
||||
_.forEach(tableNodesDict, (node, uid)=>{
|
||||
if(uid === view.model.get('local_table_uid')) {
|
||||
return;
|
||||
}
|
||||
let [schema, name] = node.getSchemaTableName();
|
||||
retOpts.push({value: uid, label: `(${schema}) ${name}`});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user