Fixed an issue where table properties were not updating from properties dialog. #7210

This commit is contained in:
Pravesh Sharma authored and GitHub committed 2024-03-27 11:41:01 +05:30
1 parent 089f890f2e
commit b742487dc3
1 file changed
+2 -1
@@ -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,