Fixed an issue where the drop cascade button enables for Databases. Fixes #6724

This commit is contained in:
Akshay Joshi 2021-09-10 18:27:16 +05:30
parent 15c99ec9e7
commit 460c66ab3f
3 changed files with 4 additions and 5 deletions

View File

@ -23,3 +23,4 @@ Bug fixes
| `Issue #2546 <https://redmine.postgresql.org/issues/2546>`_ - Added support to create the Partitioned table using COLLATE and opclass.
| `Issue #6712 <https://redmine.postgresql.org/issues/6712>`_ - Fixed an issue where collapse and expand arrows mismatch in case of nested IF.
| `Issue #6724 <https://redmine.postgresql.org/issues/6724>`_ - Fixed an issue where the drop cascade button enables for Databases.

View File

@ -395,16 +395,14 @@ def get_table_common_data():
"is_primary_key": False,
"attoptions": [],
"seclabels": []
},
{
}, {
"name": "part_col",
"cltype": "text",
"attacl": [],
"is_primary_key": False,
"attoptions": [],
"seclabels": []
}
],
}],
"exclude_constraint": [],
"fillfactor": "",
"hastoasttable": True,

View File

@ -30,7 +30,7 @@ define('pgadmin.node.database', [
hasStatistics: true,
canDrop: true,
selectParentNodeOnDelete: true,
canDropCascade: true,
canDropCascade: false,
statsPrettifyFields: [gettext('Size'), gettext('Size of temporary files')],
});
}