feat: adds author and improves breadcrumbs
This commit is contained in:
@@ -9,6 +9,7 @@ const createBreadcrumbsField = (relationTo: string, overrides: Partial<Field> =
|
||||
name: 'doc',
|
||||
type: 'relationship',
|
||||
relationTo,
|
||||
maxDepth: 1,
|
||||
admin: {
|
||||
disabled: true,
|
||||
},
|
||||
|
||||
@@ -5,6 +5,7 @@ const createParentField = (relationTo: string, overrides: Partial<Field> = {}):
|
||||
name: 'parent',
|
||||
relationTo,
|
||||
type: 'relationship',
|
||||
maxDepth: 1,
|
||||
admin: {
|
||||
position: 'sidebar',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user