Redesign and update 'Meet the Team' data #452

Merged
j285he merged 17 commits from j285he-meet-the-team-s22 into main 2022-06-17 19:53:16 -04:00
2 changed files with 2 additions and 6 deletions
Showing only changes of commit 65eaaa12f0 - Show all commits

View File

@ -40,11 +40,7 @@
"files.eol": "\n",
"[markdown]": {
"editor.wordWrap": "on",
"editor.quickSuggestions": {
"comments": "off",
"strings": "off",
"other": "off"
},
"editor.quickSuggestions": false,
"editor.tabSize": 4
}
}

View File

@ -217,7 +217,7 @@ function sortTeam(team: Metadata[]): Metadata[] {
.sort(memberComparer);
const general = team.filter(({ role }) => !role).sort(memberComparer);
const others = team
j285he marked this conversation as resolved
Review

Would role == null || role === "" be equivalent to !role here? (and also a couple lines below)

Would `role == null || role === ""` be equivalent to `!role` here? (and also a couple lines below)
.filter(({ role }) => !role && role !== "Team Lead")
.filter(({ role }) => !!role && role !== "Team Lead")
.sort(memberComparer);
return [...leads, ...general, ...others];