mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-23 09:16:29 -06:00
Fix table icon issue when updating any existing field. Fixes #4437
This commit is contained in:
parent
588e3814d1
commit
bf1f9a4b07
@ -18,3 +18,4 @@ Bug fixes
|
||||
|
||||
| `Bug #4224 <https://redmine.postgresql.org/issues/4224>`_ - Prevent flickering of large tooltips on the Graphical EXPLAIN canvas.
|
||||
| `Bug #4395 <https://redmine.postgresql.org/issues/4395>`_ - EXPLAIN options should be Query Tool instance-specific.
|
||||
| `Bug #4437 <https://redmine.postgresql.org/issues/4437>`_ - Fix table icon issue when updating any existing field.
|
@ -315,15 +315,15 @@ class TableView(BaseTableView, DataTypeReader, VacuumSettings):
|
||||
|
||||
if ('is_inherited' in table_info and
|
||||
table_info['is_inherited'] == '1')\
|
||||
or ('inherited_tables_cnt' in table_info and
|
||||
len(table_info['inherited_tables_cnt']) > 0):
|
||||
or ('relhassubclass' in table_info and
|
||||
table_info['relhassubclass']):
|
||||
default_val = 'icon-table-multi-inherit'
|
||||
else:
|
||||
default_val = 'icon-table-inherits'
|
||||
elif ('is_inherited' in table_info and
|
||||
table_info['is_inherited'] == '1')\
|
||||
or ('inherited_tables_cnt' in table_info and
|
||||
len(table_info['inherited_tables_cnt']) > 0):
|
||||
or ('relhassubclass' in table_info and
|
||||
table_info['relhassubclass']):
|
||||
default_val = 'icon-table-inherited'
|
||||
|
||||
return super(TableView, self).\
|
||||
|
Loading…
Reference in New Issue
Block a user