Skip to content

Commit

Permalink
fix: add offer published param
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementNumericite committed Nov 5, 2024
1 parent 6f0fc57 commit 9d593a9
Show file tree
Hide file tree
Showing 5 changed files with 3,938 additions and 0 deletions.
10 changes: 10 additions & 0 deletions webapp/src/payload/collections/Offer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,16 @@ export const Offers: CollectionConfig = {
label: "Offre valide jusqu'au (inclus)",
required: true,
},
{
type: "checkbox",
name: "published",
label: "Publiée",
required: true,
defaultValue: true,
admin: {
position: "sidebar",
},
},
{
type: "select",
name: "source",
Expand Down
Loading

0 comments on commit 9d593a9

Please sign in to comment.