diff --git a/apps/codeforafrica/public/images/cms/blocks/team.png b/apps/codeforafrica/public/images/cms/blocks/team.png index 310739370..0eb5dcb16 100644 Binary files a/apps/codeforafrica/public/images/cms/blocks/team.png and b/apps/codeforafrica/public/images/cms/blocks/team.png differ diff --git a/apps/codeforafrica/src/payload/blocks/OurTeam.js b/apps/codeforafrica/src/payload/blocks/OurTeam.js index 6d4c16789..881244b59 100644 --- a/apps/codeforafrica/src/payload/blocks/OurTeam.js +++ b/apps/codeforafrica/src/payload/blocks/OurTeam.js @@ -4,10 +4,10 @@ const OurTeam = { imageAltText: "Our Team", labels: { singular: { - en: "Our Team", + en: "Team", }, plural: { - en: "Our Team", + en: "Team", }, }, fields: [ diff --git a/apps/codeforafrica/src/payload/collections/Members.js b/apps/codeforafrica/src/payload/collections/Members.js index 78494bd01..15971b2f7 100644 --- a/apps/codeforafrica/src/payload/collections/Members.js +++ b/apps/codeforafrica/src/payload/collections/Members.js @@ -17,6 +17,7 @@ const Members = { }, admin: { useAsTitle: "name", + defaultColumns: ["name", "title", "country"], }, fields: [ image({ @@ -69,6 +70,7 @@ const Members = { }, type: "relationship", relationTo: "teams", + required: true, }, ], hooks: { diff --git a/apps/codeforafrica/src/payload/collections/Teams.js b/apps/codeforafrica/src/payload/collections/Teams.js index 9aaa2855a..011d59211 100644 --- a/apps/codeforafrica/src/payload/collections/Teams.js +++ b/apps/codeforafrica/src/payload/collections/Teams.js @@ -4,6 +4,7 @@ const Teams = { slug: "teams", admin: { useAsTitle: "name", + defaultColumns: ["name"], }, access: { read: () => true,