Change !role
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
81c0606d8f
commit
65eaaa12f0
|
@ -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
|
||||
.filter(({ role }) => !role && role !== "Team Lead")
|
||||
.filter(({ role }) => !!role && role !== "Team Lead")
|
||||
.sort(memberComparer);
|
||||
|
||||
return [...leads, ...general, ...others];
|
||||
|
|
Loading…
Reference in New Issue