Fixed an issue where table properties were not updating from properties dialog. #7210
parent
089f890f2e
commit
b742487dc3
|
@ -2054,7 +2054,8 @@ class BaseTableView(PGChildNodeView, BasePartitionTable, VacuumSettings):
|
|||
_, lock_table_result = self.conn.execute_dict(sql)
|
||||
|
||||
for row in lock_table_result['rows']:
|
||||
if row['relation'].strip('\"') == data['name']:
|
||||
if row['relation'] and \
|
||||
row['relation'].strip('\"') == data['name']:
|
||||
|
||||
sql = render_template(
|
||||
"/".join([self.table_template_path,
|
||||
|
|
Loading…
Reference in New Issue