mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Don't allow setting of security labels on edbspl stored procedures (by correctly checking the node type). Fixes #1576
This commit is contained in:
parent
1908e86d22
commit
d29ccea299
@ -310,7 +310,7 @@ function($, _, S, pgAdmin, pgBrowser, alertify) {
|
||||
canEdit: false, canDelete: true, uniqueCol : ['provider'],
|
||||
disabled: 'isDisabled', control: 'unique-col-collection',
|
||||
visible: function() {
|
||||
return this.node_data && this.node_data._type != 'procedure';
|
||||
return this.node && this.node.type != "procedure";
|
||||
}
|
||||
}
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user