generated from autonomic-cooperative/astro-payload-template
Compare commits
2 Commits
e3f725bf5c
...
40d257a0eb
Author | SHA1 | Date | |
---|---|---|---|
40d257a0eb | |||
200bfcce2a |
@ -101,6 +101,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
select {
|
select {
|
||||||
@apply bg-background border-primary border px-2 py-1 text-lg;
|
@apply bg-background border-primary border px-2 h-8 text-lg;
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
@apply bg-background border-primary border px-2 h-8 text-lg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
import { CollectionConfig } from "payload/types";
|
import { CollectionConfig } from "payload/types";
|
||||||
const Posts: CollectionConfig = {
|
const Posts: CollectionConfig = {
|
||||||
slug: "posts",
|
slug: "posts",
|
||||||
|
versions: true,
|
||||||
admin: {
|
admin: {
|
||||||
defaultColumns: ["title", "author", "status"],
|
defaultColumns: ["title", "author", "status"],
|
||||||
useAsTitle: "title",
|
useAsTitle: "title",
|
||||||
@ -103,6 +104,10 @@ const Posts: CollectionConfig = {
|
|||||||
value: "published",
|
value: "published",
|
||||||
label: "Published",
|
label: "Published",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
value: "archived",
|
||||||
|
label: "Archived",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
defaultValue: "draft",
|
defaultValue: "draft",
|
||||||
admin: {
|
admin: {
|
||||||
|
Reference in New Issue
Block a user