Don't allow setting of security labels on edbspl stored procedures (by correctly checking the node type). Fixes #1576
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