Redesign and update 'Meet the Team' data #452
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
.filter(({ role }) => !role && role !== "Team Lead")
|
||||
.filter(({ role }) => !!role && role !== "Team Lead")
|
||||
.sort(memberComparer);
|
||||
|
||||
return [...leads, ...general, ...others];
|
||||
|
|
Loading…
Reference in New Issue
Would
role == null || role === ""
be equivalent to!role
here? (and also a couple lines below)