Change !role
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jared He 2022-06-17 19:36:22 -04:00
parent 81c0606d8f
commit 65eaaa12f0
2 changed files with 2 additions and 6 deletions

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
.filter(({ role }) => !role && role !== "Team Lead")
.filter(({ role }) => !!role && role !== "Team Lead")
.sort(memberComparer);
return [...leads, ...general, ...others];