mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-24 13:47:39 -05:00
Fixed an issue where adding security privileges and change type to shell crash the dialog. Fixes #6744
This commit is contained in:
1 parent
7eaa3179ad
commit
2932ef770d
1 file changed
+1
-1
+1
-1
@@ -1640,7 +1640,7 @@ export default class TypeSchema extends BaseUISchema {
|
||||
if (state.typtype === 'p') {
|
||||
var acl = state.typacl;
|
||||
if(acl && acl.length > 0)
|
||||
acl.reset();
|
||||
acl.splice(0, acl.length);
|
||||
}
|
||||
return (state.typtype !== 'p');
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user