fix: adds draftsEnabled to versionSchema in collections / globals
This commit is contained in:
@@ -72,6 +72,7 @@ export default function registerCollections(ctx: Payload): void {
|
||||
buildVersionCollectionFields(collection),
|
||||
{
|
||||
disableUnique: true,
|
||||
draftsEnabled: true,
|
||||
options: {
|
||||
timestamps: true,
|
||||
},
|
||||
|
||||
@@ -28,6 +28,7 @@ export default function initGlobals(ctx: Payload): void {
|
||||
buildVersionGlobalFields(global),
|
||||
{
|
||||
disableUnique: true,
|
||||
draftsEnabled: true,
|
||||
options: {
|
||||
timestamps: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user