fix: missing parameters
This commit is contained in:
parent
61dcd45a83
commit
d817ec4c7b
@ -782,7 +782,7 @@ function EditFieldButton() {
|
||||
}}
|
||||
schema={{
|
||||
type: 'object',
|
||||
properties: clone(schema.properties),
|
||||
properties: clone(schema?.properties),
|
||||
}}
|
||||
/>
|
||||
</FormProvider>
|
||||
|
@ -27,18 +27,21 @@ export default {
|
||||
type: 'hasMany',
|
||||
name: 'actionPermissions',
|
||||
target: 'action_permissions',
|
||||
state: 0,
|
||||
},
|
||||
{
|
||||
type: 'belongsToMany',
|
||||
name: 'users',
|
||||
target: 'users',
|
||||
through: 'roles_users',
|
||||
state: 0,
|
||||
},
|
||||
{
|
||||
type: 'belongsToMany',
|
||||
name: 'ui_schemas',
|
||||
target: 'ui_schemas',
|
||||
through: 'roles_ui_schemas',
|
||||
state: 0,
|
||||
},
|
||||
],
|
||||
} as TableOptions;
|
||||
|
@ -29,6 +29,7 @@ export default {
|
||||
type: 'createdBy',
|
||||
name: typeof createdBy === 'string' ? createdBy : 'createdBy',
|
||||
target: 'users',
|
||||
state: 0,
|
||||
});
|
||||
}
|
||||
if (updatedBy !== false) {
|
||||
@ -36,6 +37,7 @@ export default {
|
||||
type: 'updatedBy',
|
||||
name: typeof updatedBy === 'string' ? updatedBy : 'updatedBy',
|
||||
target: 'users',
|
||||
state: 0,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user