mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 07:16:52 -06:00
Fixed an issue where adding security privileges and change type to shell crash the dialog. Fixes #6744
This commit is contained in:
parent
7eaa3179ad
commit
2932ef770d
@ -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');
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user