Skip to content

Commit

Permalink
feat: reorder groupchats fields to a more sensible order
Browse files Browse the repository at this point in the history
  • Loading branch information
mvarendorff committed Nov 26, 2023
1 parent 2bba457 commit 9254510
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions packages/cms/src/collections/groupchats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@ export const Groupchats: CollectionConfig = {
unique: true,
required: true,
},
{
name: "platform",
type: "select",
required: true,
options: [
{ label: "Discord", value: "discord" },
{ label: "Facebook", value: "facebook" },
{ label: "Signal", value: "signal" },
{ label: "Telegram", value: "telegram" },
{ label: "WhatsApp", value: "whatsapp" },
],
},
{ name: "description", type: "text" },
{
name: "url",
type: "text",
Expand All @@ -39,19 +52,6 @@ export const Groupchats: CollectionConfig = {
required: true,
fields: [{ name: "value", type: "text", required: true }],
},
{ name: "description", type: "text" },
{
name: "platform",
type: "select",
required: true,
options: [
{ label: "Discord", value: "discord" },
{ label: "Facebook", value: "facebook" },
{ label: "Signal", value: "signal" },
{ label: "Telegram", value: "telegram" },
{ label: "WhatsApp", value: "whatsapp" },
],
},
{
name: "promoted",
type: "number",
Expand Down

0 comments on commit 9254510

Please sign in to comment.