edit president to presidentcro

pull/403/head
Rebecca-Chou 10 months ago
parent f96d776259
commit 9a1ecf82bd
  1. 3
      lib/members.ts
  2. 2
      lib/team.ts

@ -33,8 +33,7 @@ export async function getMembers(year: string, term: Term): Promise<Member[]> {
return {
name: item.cn as string,
id: item.uid as string,
program: item.position === undefined ? "" : (item.position as string),
// Test position field
program: item.program === undefined ? "" : (item.program as string),
};
})
.sort((item1: Member, item2: Member) =>

@ -13,7 +13,7 @@ const fileType = ".md";
const { year, term } = getCurrentTerm();
const execPositions: { [name: string]: number } = {
president: 1,
presidentcro: 1,
"vice-president": 2,
secretary: 3,
treasurer: 4,

Loading…
Cancel
Save