mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-26 02:30:21 -06:00
Fix issue where property dialog of column should open properly for EPAS v12. Fixes #4343
This commit is contained in:
parent
5437a8adab
commit
d774a0ff67
@ -24,3 +24,4 @@ Bug fixes
|
||||
| `Bug #4317 <https://redmine.postgresql.org/issues/4317>`_ - Ensure that browser auto-fill doesn't cause Help pages to be opened unexpectedly.
|
||||
| `Bug #4320 <https://redmine.postgresql.org/issues/4320>`_ - Fix issue where SSH tunnel connection using password is failing, it's regression of Master Password.
|
||||
| `Bug #4329 <https://redmine.postgresql.org/issues/4329>`_ - Fix an initialisation error when two functions with parameters are debugged in parallel.
|
||||
| `Bug #4343 <https://redmine.postgresql.org/issues/4343>`_ - Fix issue where property dialog of column should open properly for EPAS v12.
|
@ -230,6 +230,7 @@ define('pgadmin.node.column', [
|
||||
if (
|
||||
m.top && ((
|
||||
!_.isUndefined(m.top.get('oid')) &&
|
||||
!_.isUndefined(m.top.get('primary_key')) &&
|
||||
m.top.get('primary_key').length > 0 &&
|
||||
!_.isUndefined(m.top.get('primary_key').first().get('oid'))
|
||||
) || (
|
||||
@ -255,6 +256,7 @@ define('pgadmin.node.column', [
|
||||
}
|
||||
// If primary key already exist then disable.
|
||||
if (m.top && !_.isUndefined(m.top.get('oid')) &&
|
||||
!_.isUndefined(m.top.get('primary_key')) &&
|
||||
m.top.get('primary_key').length > 0 &&
|
||||
!_.isUndefined(m.top.get('primary_key').first().get('oid'))) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user