Skip to content

Commit

Permalink
chore(schema): change max participant order (#83)
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Lilleby <[email protected]>
  • Loading branch information
an2n and Anton Lilleby authored Jul 23, 2024
1 parent eb9c9d3 commit cf44b17
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions studio/schemas/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ export default defineType({
type: "string",
validation: (Rule) => Rule.required(),
}),
defineField({
name: "maxParticipant",
title: "Maks antall deltagere",
description: "Dersom det ikke er noe maksantall lar du denne stå tom.",
type: "number",
}),
defineField({
name: "organisers",
title: "Hvem holder arrangementet?",
Expand Down Expand Up @@ -129,12 +135,6 @@ export default defineType({
description: "Du kan også velge å fylle inn hvor det skal spises eller hva som serveres.",
hidden: ({ document }) => !document?.foodPreference,
}),
defineField({
name: "maxParticipant",
title: "Maks antall deltagere",
description: "Dersom det ikke er noe maksantall lar du denne stå tom.",
type: "number",
}),
defineField({
name: "customOptions",
title: "Legg til egendefinerte spørsmål",
Expand Down

0 comments on commit cf44b17

Please sign in to comment.