fix: ensures api keys are properly populated in admin

This commit is contained in:
James
2021-04-18 20:58:33 -04:00
parent 75a5b04705
commit 4359a70a8b
2 changed files with 7 additions and 3 deletions

View File

@@ -10,14 +10,18 @@ export default [
type: 'checkbox',
defaultValue: false,
admin: {
disabled: true,
components: {
Field: () => null,
},
},
},
{
name: 'apiKey',
type: 'text',
admin: {
disabled: true,
components: {
Field: () => null,
},
},
hooks: {
beforeChange: [