Fixed an issue where adding security privileges and change type to shell crash the dialog. Fixes #6744
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