Remove remnants of sidebar

This commit is contained in:
DrMint 2023-10-14 11:45:24 +02:00
parent 76b7e4a8a2
commit 5ebe7a12eb
3 changed files with 0 additions and 6 deletions

View File

@ -158,7 +158,6 @@ export const Posts = buildVersionedCollectionConfig({
defaultValue: new Date().toISOString(), defaultValue: new Date().toISOString(),
admin: { admin: {
date: { pickerAppearance: "dayOnly", displayFormat: "yyyy-MM-dd" }, date: { pickerAppearance: "dayOnly", displayFormat: "yyyy-MM-dd" },
position: "sidebar",
}, },
required: true, required: true,
}, },
@ -169,7 +168,6 @@ export const Posts = buildVersionedCollectionConfig({
defaultValue: false, defaultValue: false,
admin: { admin: {
description: "If enabled, the post won't appear in the 'News' section", description: "If enabled, the post won't appear in the 'News' section",
position: "sidebar",
}, },
}, },
], ],

View File

@ -125,7 +125,6 @@ export const Recorders = buildCollectionConfig({
label, label,
value, value,
})), })),
admin: { position: "sidebar" },
}, },
{ {
name: fields.anonymize, name: fields.anonymize,
@ -135,7 +134,6 @@ export const Recorders = buildCollectionConfig({
admin: { admin: {
description: description:
"If enabled, this recorder's username will not be made public. Instead they will be referred to as 'Recorder#0000' where '0000' is a random four digit number", "If enabled, this recorder's username will not be made public. Instead they will be referred to as 'Recorder#0000' where '0000' is a random four digit number",
position: "sidebar",
}, },
}, },
], ],

View File

@ -86,7 +86,6 @@ export const Videos: CollectionConfig = buildCollectionConfig({
type: "date", type: "date",
admin: { admin: {
date: { pickerAppearance: "dayOnly", displayFormat: "yyyy-MM-dd" }, date: { pickerAppearance: "dayOnly", displayFormat: "yyyy-MM-dd" },
position: "sidebar",
}, },
required: true, required: true,
}, },
@ -94,7 +93,6 @@ export const Videos: CollectionConfig = buildCollectionConfig({
name: fields.channel, name: fields.channel,
type: "relationship", type: "relationship",
relationTo: Collections.VideosChannels, relationTo: Collections.VideosChannels,
admin: { position: "sidebar" },
}, },
], ],
}); });