feat: manage event detail fallback media via payload
This commit is contained in:
@@ -130,6 +130,15 @@ export const Events: CollectionConfig = {
|
||||
'Shared labels, status/update labels, subscription copy, CTAs, and formatting copy for the Event detail route.',
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
name: 'fallbackImage',
|
||||
type: 'upload',
|
||||
relationTo: 'media',
|
||||
label: 'Fallback hero image',
|
||||
admin: {
|
||||
description: `Current frontend fallback image: /images/${eventDetailContent.fallbackImageFilename}`,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'notFound',
|
||||
label: 'Not found state',
|
||||
|
||||
Reference in New Issue
Block a user