fix: issue with community post type

This commit is contained in:
Paul Popus
2024-03-14 17:01:33 -03:00
parent d4f3309ffd
commit 2dc98f682f

View File

@@ -1,8 +1,6 @@
import type { CollectionConfig } from '../../../../packages/payload/src/collections/config/types.js' import type { CollectionConfig } from '../../../../packages/payload/src/collections/config/types.js'
import { mediaSlug } from '../Media/index.js' import { mediaSlug } from '../Media/index.js'
import { CollapsibleLabel } from './CollapsibleLabel.js'
import { RowLabel } from './RowLabel.js'
export const postsSlug = 'posts' export const postsSlug = 'posts'
@@ -55,26 +53,6 @@ export const PostsCollection: CollectionConfig = {
}, },
], ],
}, },
{
type: 'collapsible',
fields: [],
label: 'CollapsibleLabel',
},
{
name: 'tester',
type: 'array',
admin: {
components: {
RowLabel,
},
},
fields: [
{
name: 'title',
type: 'text',
},
],
},
], ],
versions: { versions: {
drafts: true, drafts: true,