parent
be00d24bfa
commit
ff283f2ea1
@ -29,9 +29,7 @@ export function validateFieldChange(field: string, value: any, isExternal: boole
|
||||
|
||||
const allowDerived = !isExternal;
|
||||
if(!canEdit(field, allowDerived)) {
|
||||
if(field != 'is_extension'){
|
||||
throw new InvalidFieldError('Field is not editable', field);
|
||||
}
|
||||
throw new InvalidFieldError('Field is not editable', field);
|
||||
}
|
||||
|
||||
if(field in compiledSchemas) {
|
||||
|
Loading…
Reference in New Issue
Block a user