Test position field

pull/403/head
Rebecca-Chou 10 months ago
parent 340dfa67b5
commit fe3358d9ae
  1. 3
      lib/members.ts

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

Loading…
Cancel
Save